mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:51:54 -05:00
home/hyprland: remove workspaces option
This commit is contained in:
parent
cf5ce8202f
commit
071b3ae117
|
@ -43,7 +43,7 @@ in {
|
|||
${
|
||||
lib.strings.concatMapStringsSep "\n"
|
||||
(x: "bind = , ${toString x}, movetoworkspace, ${toString x}")
|
||||
cfg.desktop.hyprland.workspaces
|
||||
[1 2 3 4 5 6 7 8 9]
|
||||
}
|
||||
|
||||
# hyprnome
|
||||
|
|
|
@ -93,8 +93,8 @@ in {
|
|||
"CTRL ALT,M,submap,move"
|
||||
"CTRL ALT,R,submap,resize"
|
||||
]
|
||||
++ builtins.map (x: "$mod, ${toString x}, workspace, ${toString x}") cfg.desktop.hyprland.workspaces
|
||||
++ builtins.map (x: "$mod SHIFT, ${toString x}, movetoworkspace, ${toString x}") cfg.desktop.hyprland.workspaces
|
||||
++ builtins.map (x: "$mod, ${toString x}, workspace, ${toString x}") [1 2 3 4 5 6 7 8 9]
|
||||
++ builtins.map (x: "$mod SHIFT, ${toString x}, movetoworkspace, ${toString x}") [1 2 3 4 5 6 7 8 9]
|
||||
++ lib.attrsets.mapAttrsToList (key: direction: "$mod, ${key}, movefocus, ${direction}") cfg.desktop.hyprland.windowManagerBinds
|
||||
++ lib.attrsets.mapAttrsToList (key: direction: "$mod SHIFT, ${key}, movewindow, ${direction}") cfg.desktop.hyprland.windowManagerBinds
|
||||
++ lib.attrsets.mapAttrsToList (key: direction: "$mod CONTROL SHIFT, ${key}, movecurrentworkspacetomonitor, ${direction}") cfg.desktop.hyprland.windowManagerBinds;
|
||||
|
|
|
@ -151,12 +151,6 @@ in {
|
|||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
workspaces = lib.mkOption {
|
||||
description = "Default numbered workspaces to create.";
|
||||
default = [1 2 3 4 5 6 7 8 9];
|
||||
type = lib.types.listOf lib.types.int;
|
||||
};
|
||||
|
||||
windowManagerBinds = lib.mkOption {
|
||||
description = "Default binds for window management.";
|
||||
default = {
|
||||
|
|
Loading…
Reference in a new issue