diff --git a/users/rouven/modules/hyprland/default.nix b/users/rouven/modules/hyprland/default.nix index 3e82585..ef8df0f 100644 --- a/users/rouven/modules/hyprland/default.nix +++ b/users/rouven/modules/hyprland/default.nix @@ -11,6 +11,7 @@ wl-clipboard grim slurp + swappy font-awesome hyprpaper.packages.x86_64-linux.default swaylock-effects @@ -72,6 +73,11 @@ background-color: #${config.colorScheme.colors.base03}; } ''; + "swappy/config".text = '' + [Default] + save_dir = ~/Pictures/Screenshots/ + early_exit = true + ''; }; programs.mako = { diff --git a/users/rouven/modules/hyprland/hyprland.conf b/users/rouven/modules/hyprland/hyprland.conf index 2a17ffd..17e657d 100644 --- a/users/rouven/modules/hyprland/hyprland.conf +++ b/users/rouven/modules/hyprland/hyprland.conf @@ -139,7 +139,7 @@ bindm = $mainMod, mouse:273, resizewindow # All the fancy XF86 Keys bind = ,Print, exec, grim -g "$(slurp)" - | wl-copy -t image/png -bind = SHIFT, Print, exec, grim -g "$(slurp)" +bind = ,XF86Launch2, exec, grim -g "$(slurp)" - | swappy -f - bind = ,XF86MonBrightnessUp, exec, light -A 10 bind = ,XF86MonBrightnessDown, exec, light -U 10 bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle