converted workspace switch to ewwtilities

This commit is contained in:
Nickiel12 2023-11-16 18:18:01 -08:00
parent 8f83d046bf
commit 9646f4d1af
2 changed files with 12 additions and 11 deletions

View file

@ -9,22 +9,23 @@ in
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
windowrulev2 = [ windowrulev2 = [
"float,class:^(kitty)$,title:^switch-to-windows-elevation" # "float,class:^(kitty)$,title:^switch-to-windows-elevation"
# "center,class:^(kitty)$,title:^switch-to-windows-elevation" # "center,class:^(kitty)$,title:^switch-to-windows-elevation"
# "size 40% 40%,class:^(kitty)$,title:^switch-to-windows-elevation" # "size 40% 40%,class:^(kitty)$,title:^switch-to-windows-elevation"
]; ];
workspace = if (hostname == "NicksNixDesktop") then [ workspace = if (hostname == "NicksNixDesktop") then [
"1,monitor:DP-3,default:true" "2,monitor:DP-3,default:true"
"3,monitor:DP-3" "4,monitor:DP-3"
"5,monitor:DP-3" "6,monitor:DP-3"
"7,monitor:DP-3" "8,monitor:DP-3"
"9,monitor:DP-3" "0,monitor:DP-3"
"2,monitor:DP-2,default:true" "1,monitor:DP-2,default:true"
"4,monitor:DP-2" "3,monitor:DP-2"
"6,monitor:DP-2" "5,monitor:DP-2"
"8,monitor:DP-2" "7,monitor:DP-2"
"9,monitor:DP-2"
] else [ ] else [
]; ];

View file

@ -51,7 +51,7 @@ in
] ++ ] ++
# Change workspace # Change workspace
(map (n: (map (n:
"$mod,${n},workspace,name:${n}" "$mod,${n}, exec, ewwtilities workspace-selector ${n}"
) workspaces) ++ ) workspaces) ++
# Move window to workspace # Move window to workspace
(map (n: (map (n: