From 000da95dffdb51ba40902a0b427f51680e6d92a7 Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Tue, 2 Dec 2025 15:34:05 +0100 Subject: [PATCH] Add hyprland keybinds --- modules/home-manager/hyprland.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index d545727..b3c7de8 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -5,7 +5,7 @@ wayland.windowManager.hyprland = let # workspaces - # binds $mod + [shift +] {1..9} to [move to] workspace {1..9} + # binds $mod/alt + [shift +] {1..9} to [move to] workspace {1..9} workspaces = builtins.concatLists ( builtins.genList ( i: @@ -13,8 +13,10 @@ ws = toString (i + 1); in [ - "ALT, ${ws}, workspace, ${ws}" - "ALTSHIFT, ${ws}, movetoworkspace, ${ws}" + "$mod,${ws},workspace,${ws}" + "ALT,${ws},workspace,${ws}" + "$mod SHIFT,${ws},movetoworkspace,${ws}" + "ALTSHIFT,${ws},movetoworkspace,${ws}" ] ) 9 );