dwm/dwmscripts/scrot.sh

8 lines
359 B
Bash
Raw Normal View History

2024-10-31 16:38:22 +03:00
scrot -o /tmp/scrot.png
feh -F /tmp/scrot.png &
feh_pid=$!
scrot --select '/home/naki/pic/screenshots/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f'
kill $feh_pid
# flameshot gui --raw | xclip -selection clipboard -target image/png
# maim -u | feh -F - & sleep 1 && maim -s | xclip -selection clipboard -target image/png && kill $!