diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 1c56f48..5224eaf 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -53,5 +53,6 @@ ulauncher playerctl swaynotificationcenter + flameshot ]; } diff --git a/stow/.config/hypr/hyprland.conf b/stow/.config/hypr/hyprland.conf index 92792ba..f3447db 100755 --- a/stow/.config/hypr/hyprland.conf +++ b/stow/.config/hypr/hyprland.conf @@ -16,6 +16,7 @@ monitor=eDP-1,1920x1080@60,auto,1 $terminal = kitty $browser = firefox $menu = ulauncher-toggle +$screenshot = flameshot gui ################# ### AUTOSTART ### @@ -177,6 +178,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier bind = $mainMod, Q, exec, $terminal bind = $mainMod, B, exec, $browser bind = $mainMod, D, exec, $menu +bind = $mainMod, S, exec, $screenshot bind = $mainMod, SPACE, togglefloating, bind = $mainMod, W, killactive, @@ -225,10 +227,6 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 -# Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic - # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 @@ -255,4 +253,8 @@ windowrulev2 = noblur,initialClass:ulauncher windowrulev2 = noshadow,initialClass:ulauncher windowrulev2 = float,initialTitle:(^KeePassXC - Browser Access Request$) + +windowrulev2 = noanim,initialTitle:(^flameshot$) +windowrulev2 = float,initialTitle:(^flameshot$) + windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.