mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 01:51:55 -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"
|
lib.strings.concatMapStringsSep "\n"
|
||||||
(x: "bind = , ${toString x}, movetoworkspace, ${toString x}")
|
(x: "bind = , ${toString x}, movetoworkspace, ${toString x}")
|
||||||
cfg.desktop.hyprland.workspaces
|
[1 2 3 4 5 6 7 8 9]
|
||||||
}
|
}
|
||||||
|
|
||||||
# hyprnome
|
# hyprnome
|
||||||
|
|
|
@ -93,8 +93,8 @@ in {
|
||||||
"CTRL ALT,M,submap,move"
|
"CTRL ALT,M,submap,move"
|
||||||
"CTRL ALT,R,submap,resize"
|
"CTRL ALT,R,submap,resize"
|
||||||
]
|
]
|
||||||
++ builtins.map (x: "$mod, ${toString x}, workspace, ${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}") cfg.desktop.hyprland.workspaces
|
++ 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, ${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 SHIFT, ${key}, movewindow, ${direction}") cfg.desktop.hyprland.windowManagerBinds
|
||||||
++ lib.attrsets.mapAttrsToList (key: direction: "$mod CONTROL SHIFT, ${key}, movecurrentworkspacetomonitor, ${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;
|
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 {
|
windowManagerBinds = lib.mkOption {
|
||||||
description = "Default binds for window management.";
|
description = "Default binds for window management.";
|
||||||
default = {
|
default = {
|
||||||
|
|
Loading…
Reference in a new issue