nicks-nix-config/modules/hyprland/displays.nix
2023-10-31 23:04:06 -07:00

32 lines
676 B
Nix

{ osConfig, ...}:
let
hostname = osConfig.networking.hostName;
in
{
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
"float,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"
];
workspace = if (hostname == "NicksNixDesktop") then [
"1,monitor:DP-3,default:true"
"3,monitor:DP-3"
"5,monitor:DP-3"
"7,monitor:DP-3"
"9,monitor:DP-3"
"2,monitor:DP-2,default:true"
"4,monitor:DP-2"
"6,monitor:DP-2"
"8,monitor:DP-2"
] else [
];
};
}