From 2f2166d66d0773f96ea9f54f191688017e5d3d15 Mon Sep 17 00:00:00 2001 From: LarsZauberer Date: Wed, 17 Apr 2024 10:45:18 +0200 Subject: [PATCH] Try to fix screenshots --- hosts/lars/hyprland.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/lars/hyprland.nix b/hosts/lars/hyprland.nix index 1299063..5d80b16 100644 --- a/hosts/lars/hyprland.nix +++ b/hosts/lars/hyprland.nix @@ -120,7 +120,8 @@ in { "$mod, F, fullscreen" # Screenshot - "$mod SHIFT, s, exec, grim -g '$(slurp -d)' - | wl-copy" + "$mod SHIFT, s, exec, grim -g \"$(slurp -d)\" - | wl-copy" + ] ++ ( builtins.concatLists (builtins.genList ( @@ -136,6 +137,11 @@ in { ) 10) ); + # Mouse movement + bindm = [ + "$mod, mouse:272, movewindow" + "$mod, mouse:273, resizewindow" + ]; } cfg.extra]; }; };