diff options
Diffstat (limited to 'X/sxhkdrc')
-rw-r--r-- | X/sxhkdrc | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -32,11 +32,13 @@ super + v urxvtcd -e "$VISUAL" super + shift + s - sleep 0.25 && scrot \ - --freeze --select \ - --exec 'xclip -selection clipboard -target image/png $f ; \ - mkdir -p -- "$$HOME"/screenshots/%Y-%m-%d && \ - mv -- $f "$$HOME"/screenshots' + sleep 0.25 && scrot --freeze --select \ + --exec 'xclip -selection clipboard -target image/png $f && \ + dir=$$HOME/screenshots/%Y-%m-%d && \ + mkdir --parents -- "$dir" && \ + convert -- $f -define webp:lossless=true \ + "$$dir"/%Y-%m-%d_$wx$h.webp && \ + rm -- $f' super + slash i3lock --color=#000000 --image "$HOME"/.local/share/i3/lock.png --nofork |