Files
linux-bin/mv2figs.sh
ackman678 74b88b38eb helpFound
2020-02-13 12:11:29 -08:00

10 lines
298 B
Bash
Executable File

#!/bin/bash
#mv2figs: used by the <ctrl-z> screenshot shortcut set in .config/i3/config
#default image location
blobFolder=$HOME/figures
mv $1 $blobFolder/$1
echo "<figure><img src=\""$(basename $blobFolder)/$1"\" width=\"500px\"><figcaption></figcaption></figure>" | xclip -selection clipboard