update screenshotter
This commit is contained in:
parent
d6f0f86e9f
commit
9f2c79b773
|
@ -9,7 +9,7 @@ fileurl="$webpath$myfile"
|
||||||
|
|
||||||
# copy-paste
|
# copy-paste
|
||||||
wl-copy <<< "$fileurl"
|
wl-copy <<< "$fileurl"
|
||||||
grimshot save window "$HOME/screenshot-tmp.ppm"
|
grimshot save anything "$HOME/screenshot-tmp.ppm"
|
||||||
cwebp -preset picture -q 100 "$HOME/screenshot-tmp.ppm" -o "$HOME/public/s/$myfile"
|
cwebp -preset picture -q 100 "$HOME/screenshot-tmp.ppm" -o "$HOME/public/s/$myfile"
|
||||||
rm "$HOME/screenshot-tmp.ppm"
|
rm "$HOME/screenshot-tmp.ppm"
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,7 @@ in {
|
||||||
"XF86AudioPause" = "exec playerctl pause";
|
"XF86AudioPause" = "exec playerctl pause";
|
||||||
"XF86AudioPlay" = "exec playerctl play";
|
"XF86AudioPlay" = "exec playerctl play";
|
||||||
"${mod}+Shift+s" = exec bin.screenshot_public "screenshot_public";
|
"${mod}+Shift+s" = exec bin.screenshot_public "screenshot_public";
|
||||||
|
"${mod}+Ctrl+Shift+s" = exec pkgs.sway-contrib.grimshot "grimshot --notify copy anything";
|
||||||
"Print" = exec bin.screenshot_public "screenshot_public";
|
"Print" = exec bin.screenshot_public "screenshot_public";
|
||||||
"${mod}+Shift+t" =
|
"${mod}+Shift+t" =
|
||||||
"exec --no-startup-id /home/yorick/dotfiles/bin/toggle_solarized.sh";
|
"exec --no-startup-id /home/yorick/dotfiles/bin/toggle_solarized.sh";
|
||||||
|
|
Loading…
Reference in a new issue