1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

10 workspaces

This commit is contained in:
RGBCube 2024-05-22 11:57:58 +03:00
parent 86e7ee5017
commit 5639687538
No known key found for this signature in database
2 changed files with 20 additions and 34 deletions

View file

@ -38,8 +38,10 @@ in desktopSystemConfiguration {
}; };
settings = { settings = {
monitor = [ ", preferred, auto, 1" ]; monitor = [ ", preferred, auto, 1" ];
windowrule = [ "noinitialfocus" ];
windowrule = [ "noinitialfocus" ];
windowrulev2 = [ "workspace special silent, class:^(xwaylandvideobridge)$" ];
exec = [ "pkill swaybg; swaybg --image ${./wallpaper.png}" ]; exec = [ "pkill swaybg; swaybg --image ${./wallpaper.png}" ];
@ -82,24 +84,17 @@ in desktopSystemConfiguration {
"SUPER+CTRL, l, resizeactive, 100 0" "SUPER+CTRL, l, resizeactive, 100 0"
]; ];
bind = [ bind = flatten [
"SUPER , TAB, workspace, e+1" "SUPER , TAB, workspace, e+1"
"SUPER+ALT, TAB, workspace, e-1" "SUPER+ALT, TAB, workspace, e-1"
"SUPER, mouse_up, workspace, e+1" "SUPER, mouse_up, workspace, e+1"
"SUPER, mouse_down, workspace, e-1" "SUPER, mouse_down, workspace, e-1"
"SUPER, 1, workspace, 1" (map (n: [
"SUPER, 2, workspace, 2" "SUPER , ${toString n}, workspace , ${toString n}"
"SUPER, 3, workspace, 3" "SUPER+ALT, ${toString n}, movetoworkspacesilent, ${toString n}"
"SUPER, 4, workspace, 4" ]) (range [ 1 10 ]))
"SUPER, 5, workspace, 5"
"SUPER+ALT, 1, movetoworkspacesilent, 1"
"SUPER+ALT, 2, movetoworkspacesilent, 2"
"SUPER+ALT, 3, movetoworkspacesilent, 3"
"SUPER+ALT, 4, movetoworkspacesilent, 4"
"SUPER+ALT, 5, movetoworkspacesilent, 5"
"SUPER+ALT, left , movewindow, l" "SUPER+ALT, left , movewindow, l"
"SUPER+ALT, down , movewindow, d" "SUPER+ALT, down , movewindow, d"

View file

@ -24,7 +24,7 @@ desktopUserHomeConfiguration {
format-icons.default = ""; format-icons.default = "";
format-icons.active = ""; format-icons.active = "";
persistent-workspaces."*" = 5; persistent-workspaces."*" = 10;
}; };
modules-center = [ modules-center = [
@ -104,25 +104,16 @@ desktopUserHomeConfiguration {
color: ${base05}; color: ${base05};
} }
#workspaces button:nth-child(1) { #workspaces button:nth-child(1) { color: ${base08}; }
color: ${base08}; #workspaces button:nth-child(2) { color: ${base09}; }
} #workspaces button:nth-child(3) { color: ${base0A}; }
#workspaces button:nth-child(4) { color: ${base0B}; }
#workspaces button:nth-child(2) { #workspaces button:nth-child(5) { color: ${base0C}; }
color: ${base09}; #workspaces button:nth-child(6) { color: ${base0D}; }
} #workspaces button:nth-child(7) { color: ${base0E}; }
#workspaces button:nth-child(8) { color: ${base0F}; }
#workspaces button:nth-child(3) { #workspaces button:nth-child(9) { color: ${base04}; }
color: ${base0A}; #workspaces button:nth-child(10) { color: ${base06}; }
}
#workspaces button:nth-child(4) {
color: ${base0B};
}
#workspaces button:nth-child(5) {
color: ${base0C};
}
#workspaces button.empty { #workspaces button.empty {
color: ${base02}; color: ${base02};