diff --git a/modules/hyprland/home.nix b/modules/hyprland/home.nix index fc7d7df..6c774c8 100644 --- a/modules/hyprland/home.nix +++ b/modules/hyprland/home.nix @@ -105,6 +105,7 @@ "hypridle" "waybar" "nm-applet --indicator" + "mkdir -p ~/Downloads/Screenshots" ]; # Input configuration @@ -251,6 +252,11 @@ ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" ", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" + + # Screenshots + ", Print, exec, grimblast copysave area ~/Downloads/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" + "SHIFT, Print, exec, grimblast copysave screen ~/Downloads/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" + "CTRL, Print, exec, grimblast copysave active ~/Downloads/Screenshots/$(date +%Y-%m-%d_%H-%M-%S).png" ]; # Mouse bindings @@ -375,6 +381,7 @@ home.packages = with pkgs; [ adwaita-qt adwaita-qt6 + grimblast ]; # Cursor theme configuration