diff options
Diffstat (limited to 'common/home/hyprland')
| -rw-r--r-- | common/home/hyprland/default.nix | 61 |
1 files changed, 32 insertions, 29 deletions
diff --git a/common/home/hyprland/default.nix b/common/home/hyprland/default.nix index d33e8af..2ef1b0a 100644 --- a/common/home/hyprland/default.nix +++ b/common/home/hyprland/default.nix @@ -1,11 +1,18 @@ -{ +{ pkgs, ... }: { enable = true; systemd = { enable = true; variables = [ "--all" ]; }; xwayland.enable = true; + plugins = [ pkgs.hyprlandPlugins.hyprsplit ]; settings = { + plugin = { + hyprsplit = { + num_workspaces = 10; + persistent_workspaces = false; + }; + }; "$mod" = "SUPER"; bind = [ "$mod+Shift, Q, exit" @@ -41,31 +48,27 @@ "$mod+Shift, k, movewindow, u" "$mod+Shift, j, movewindow, d" - "$mod, 1, workspace, 1" - "$mod, 2, workspace, 2" - "$mod, 3, workspace, 3" - "$mod, 4, workspace, 4" - "$mod, 5, workspace, 5" - "$mod, 6, workspace, 6" - "$mod, 7, workspace, 7" - "$mod, 8, workspace, 8" - "$mod, 9, workspace, 9" - "$mod, 0, workspace, 10" - - "$mod, F1, movecurrentworkspacetomonitor, 0" - "$mod, F2, movecurrentworkspacetomonitor, 1" - "$mod, F3, movecurrentworkspacetomonitor, 2" + "$mod, 1, split:workspace, 1" + "$mod, 2, split:workspace, 2" + "$mod, 3, split:workspace, 3" + "$mod, 4, split:workspace, 4" + "$mod, 5, split:workspace, 5" + "$mod, 6, split:workspace, 6" + "$mod, 7, split:workspace, 7" + "$mod, 8, split:workspace, 8" + "$mod, 9, split:workspace, 9" + "$mod, 0, split:workspace, 10" - "$mod+Shift, 1, movetoworkspace, 1" - "$mod+Shift, 2, movetoworkspace, 2" - "$mod+Shift, 3, movetoworkspace, 3" - "$mod+Shift, 4, movetoworkspace, 4" - "$mod+Shift, 5, movetoworkspace, 5" - "$mod+Shift, 6, movetoworkspace, 6" - "$mod+Shift, 7, movetoworkspace, 7" - "$mod+Shift, 8, movetoworkspace, 8" - "$mod+Shift, 9, movetoworkspace, 9" - "$mod+Shift, 0, movetoworkspace, 10" + "$mod+Shift, 1, split:movetoworkspacesilent, 1" + "$mod+Shift, 2, split:movetoworkspacesilent, 2" + "$mod+Shift, 3, split:movetoworkspacesilent, 3" + "$mod+Shift, 4, split:movetoworkspacesilent, 4" + "$mod+Shift, 5, split:movetoworkspacesilent, 5" + "$mod+Shift, 6, split:movetoworkspacesilent, 6" + "$mod+Shift, 7, split:movetoworkspacesilent, 7" + "$mod+Shift, 8, split:movetoworkspacesilent, 8" + "$mod+Shift, 9, split:movetoworkspacesilent, 9" + "$mod+Shift, 0, split:movetoworkspacesilent, 10" ]; binde = [ @@ -88,8 +91,8 @@ ]; general = { - gaps_in = 10; - gaps_out = 10; + gaps_in = 0; + gaps_out = 0; layout = "master"; border_size = 3; "col.active_border" = "rgba(b16286ff)"; @@ -97,7 +100,7 @@ }; decoration = { - rounding = 5; + rounding = 0; shadow = { enabled = true; range = true; @@ -106,7 +109,7 @@ }; animations = { - enabled = true; + enabled = false; bezier = "myBezier, 0.05, 0.9, 0.1, 1.05"; animation = [ "windows, 1, 3, myBezier" |