From 1dffe85a57868d05e0db73b7e527d20c35c8d5b6 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 19 Jul 2024 11:53:29 -0400 Subject: [PATCH] home/hyprland: move submap starters to nix --- homeManagerModules/desktop/hyprland/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index 20bc9d50..ec549d91 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -71,6 +71,8 @@ in { "${modifier}, period, exec, ${hyprnome}" ", PRINT, exec, ${screenshot.screen}" "CONTROL, F12, exec, ${screenshot.screen}" + "CTRL ALT,M,submap,move" + "CTRL ALT,R,submap,resize" ] ++ builtins.map (x: "${modifier}, ${toString x}, workspace, ${toString x}") defaultWorkspaces ++ builtins.map (x: "${modifier} SHIFT, ${toString x}, movetoworkspace, ${toString x}") defaultWorkspaces @@ -202,14 +204,12 @@ in { inherit (import ./vars.nix {inherit config lib pkgs;}) defaultWorkspaces - modifier windowManagerBinds ; # Hyprland desktop utilities hyprnome = lib.getExe pkgs.hyprnome; in '' - bind=CTRL ALT,R,submap,resize submap=resize binde=,down,resizeactive,0 10 binde=,left,resizeactive,-10 0 @@ -222,7 +222,6 @@ in { bind=,escape,submap,reset submap=reset - bind=CTRL ALT,M,submap,move submap=move # Move window with keys ++ # Move workspaces across monitors with CONTROL + keys.