From ba4a35b027af2673f51cf072f93880001a7bbc4f Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 16 Feb 2025 00:27:36 -0500 Subject: [PATCH] grim slurp swappy is nice --- modules/desktops/wayland/sway.nix | 3 +++ modules/users/crow/configs/sway/sway.conf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/desktops/wayland/sway.nix b/modules/desktops/wayland/sway.nix index c6f4da6..6d21137 100644 --- a/modules/desktops/wayland/sway.nix +++ b/modules/desktops/wayland/sway.nix @@ -23,6 +23,9 @@ wl-clipboard xorg.xrandr hyprlock + grim + slurp + swappy ]; }; programs.dconf.enable = true; diff --git a/modules/users/crow/configs/sway/sway.conf b/modules/users/crow/configs/sway/sway.conf index 68593a7..078698b 100644 --- a/modules/users/crow/configs/sway/sway.conf +++ b/modules/users/crow/configs/sway/sway.conf @@ -164,4 +164,4 @@ bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous bindsym XF86MonBrightnessUp exec brightnessctl s +5% bindsym XF86MonBrightnessDown exec brightnessctl s 5%- -bindsym Print exec grimshot --cursor copy area +bindsym Print exec grim -g "$(slurp)" - | swappy -f -