37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
# hosts/m3-ares/home.nix — Host-specific home-manager overrides.
|
|
# TUXEDO laptop: internal display + HDMI monitor.
|
|
{config, lib, ...}:
|
|
with lib; {
|
|
# ── Hyprland monitor layout ──
|
|
config = mkIf config.desktop.wm.hyprland.enable {
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
settings = {
|
|
exec-once = ["tuxedo-backlight"];
|
|
monitor = [
|
|
"eDP-1,preferred,0x0,1.25"
|
|
"HDMI-A-1,1920x1080@120,2560x0,1"
|
|
];
|
|
workspace = [
|
|
"1, monitor:eDP-1, default:true"
|
|
"2, monitor:eDP-1"
|
|
"3, monitor:eDP-1"
|
|
"4, monitor:HDMI-A-1,"
|
|
"5, monitor:HDMI-A-1,border:false,rounding:false"
|
|
"6, monitor:HDMI-A-1"
|
|
];
|
|
windowrule = [
|
|
"match:class dev.zed.Zed, workspace 1"
|
|
"match:class Msty, workspace 1"
|
|
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
|
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
|
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
|
"match:class ^steam_app_\\d+$, fullscreen on"
|
|
"match:class ^steam_app_\\d+$, workspace 5"
|
|
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|