diff --git a/system/home/sway/default.nix b/system/home/sway/default.nix index bd1c985b..53f76cb5 100644 --- a/system/home/sway/default.nix +++ b/system/home/sway/default.nix @@ -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 %"; diff --git a/system/home/sway/waybar/default.nix b/system/home/sway/waybar/default.nix index e9b3b15a..db14142e 100644 --- a/system/home/sway/waybar/default.nix +++ b/system/home/sway/waybar/default.nix @@ -61,6 +61,7 @@ "(alacritty.*)" = " $1"; "(.*) - mpv" = "󰦟 $1"; "swayimg: (.*)" = "󰋩 $1"; + "swappy" = "󰹑 swappy"; "(btm)" = " Resource Usage [$1]"; "(cava)" = "󰝚 Music Visualiser [$1]"; "(.*) - Thunar" = "󰝰 $1";