diff options
author | sils <sils@sils.li> | 2024-02-02 18:47:09 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-02-02 18:47:09 +0100 |
commit | cd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0 (patch) | |
tree | bc094c219a81635e1555c866dccb6407b5ec895a /users | |
parent | flake.lock: update (diff) | |
download | nix-config-cd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0.tar.gz nix-config-cd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0.zip |
use development version of hyprland
Diffstat (limited to 'users')
-rw-r--r-- | users/sils/hyprland/default.nix | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/users/sils/hyprland/default.nix b/users/sils/hyprland/default.nix index ff1278e..85affb9 100644 --- a/users/sils/hyprland/default.nix +++ b/users/sils/hyprland/default.nix @@ -1,6 +1,12 @@ -{pkgs, ...}: { +{ + pkgs, + hyprland, + system, + ... +}: { wayland.windowManager.hyprland = { enable = true; + package = hyprland.packages.${system}.hyprland; settings = { # See https://wiki.hyprland.org/Configuring/Monitors/ monitor = ",preferred,auto,auto"; @@ -134,16 +140,16 @@ "$mainMod, down, movefocus, d" # Switch workspaces with mainMod + [0-9] - "$mainMod, 1, workspace, 1" - "$mainMod, 2, workspace, 2" - "$mainMod, 3, workspace, 3" - "$mainMod, 4, workspace, 4" - "$mainMod, 5, workspace, 5" - "$mainMod, 6, workspace, 6" - "$mainMod, 7, workspace, 7" - "$mainMod, 8, workspace, 8" - "$mainMod, 9, workspace, 9" - "$mainMod, 0, workspace, 10" + "$mainMod, 1, focusworkspaceoncurrentmonitor, 1" + "$mainMod, 2, focusworkspaceoncurrentmonitor, 2" + "$mainMod, 3, focusworkspaceoncurrentmonitor, 3" + "$mainMod, 4, focusworkspaceoncurrentmonitor, 4" + "$mainMod, 5, focusworkspaceoncurrentmonitor, 5" + "$mainMod, 6, focusworkspaceoncurrentmonitor, 6" + "$mainMod, 7, focusworkspaceoncurrentmonitor, 7" + "$mainMod, 8, focusworkspaceoncurrentmonitor, 8" + "$mainMod, 9, focusworkspaceoncurrentmonitor, 9" + "$mainMod, 0, focusworkspaceoncurrentmonitor, 10" # Move active window to a workspace with mainMod + SHIFT + [0-9] "$mainMod SHIFT, 1, movetoworkspace, 1" |