From 434615890a696e681f383446485e564858b320e3 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 27 Jun 2025 15:15:00 +0200 Subject: [PATCH] added screenshots --- home/lukas/hyprland.nix | 12 +++--------- modules/desktop/hyprland.nix | 1 + 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/home/lukas/hyprland.nix b/home/lukas/hyprland.nix index cadf2fe..32ccc10 100644 --- a/home/lukas/hyprland.nix +++ b/home/lukas/hyprland.nix @@ -61,15 +61,6 @@ "$mod, V, togglefloating" - # mouse button 1 → movewindow :contentReference[oaicite:2]{index=2} - "$mod, mouse:272, movewindow" - - # hold Mod and right-click + drag to resize - "$mod, mouse:273, resizeactive" - - - - # Switch to workspace 1–9 "$mod, 1, workspace, 1" "$mod, 2, workspace, 2" @@ -81,6 +72,9 @@ "$mod, 8, workspace, 8" "$mod, 9, workspace, 9" + # screenshot + ", PRINT, exec, hyprshot -m region --clipboard-only" + # toggle muting speacers and mic ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index e6bf3d8..385ba86 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -24,6 +24,7 @@ pkgs.swww pkgs.rofi-wayland pkgs.hyprlock + pkgs.hyprshot pkgs.brightnessctl # adjust backlight via keybindings pkgs.scrot # simple screenshot