Files
linux-bin/mv2figs.sh

10 lines
298 B
Bash
Raw Normal View History

2019-02-05 19:30:40 -08:00
#!/bin/bash
2020-02-13 12:11:29 -08:00
#mv2figs: used by the <ctrl-z> screenshot shortcut set in .config/i3/config
2019-02-05 19:30:40 -08:00
#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