Add swappy, sway bind for screenshot

This commit is contained in:
Evie Litherland-Smith 2024-09-21 05:46:19 +01:00
parent 24479dcb8e
commit c4cff3085e
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,7 @@
ffmpeg
grim
slurp
swappy
wl-clipboard
swayimg
swaybg
@ -211,6 +212,9 @@
"${modifier}+bracketright" = "move workspace to output right";
# Function keys
## Screenshot
"Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.swappy}/bin/swappy -f -";
## Sound
"XF86AudioMute" = "exec ${config.services.avizo.package}/bin/volumectl %";
"XF86AudioMicMute" = "exec ${config.services.avizo.package}/bin/volumectl -m %";

View file

@ -61,6 +61,7 @@
"(alacritty.*)" = " $1";
"(.*) - mpv" = "󰦟 $1";
"swayimg: (.*)" = "󰋩 $1";
"swappy" = "󰹑 swappy";
"(btm)" = " Resource Usage [$1]";
"(cava)" = "󰝚 Music Visualiser [$1]";
"(.*) - Thunar" = "󰝰 $1";