hyprland monitor issue fix

This commit is contained in:
2025-01-12 13:13:36 -06:00
parent 058bea064d
commit 8234b1bce0
5 changed files with 15 additions and 6 deletions

View File

@@ -21,9 +21,15 @@
systemd.variables = [ "--all" ];
extraConfig = ''
extraConfig = let
monitor = if config.homeconfig.host == "laptop" then ''
monitor=eDP-1,1920x1080@60,0x0,1
'' else if config.homeconfig.host == "homebox" then ''
monitor=HEADLESS-2,1920x1080@60,0x0,1
'' else '''';
in ''
source = /home/nathan/.config/hypr/main.conf
'';
'' + monitor;
};
};