hyprland auto start

This commit is contained in:
2025-01-25 16:03:14 -06:00
parent 40f8b41117
commit 3c534dd96c
2 changed files with 7 additions and 1 deletions

View File

@@ -29,7 +29,7 @@
monitor=eDP-1,1920x1080@60,0x0,1
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x1080,1
exec-once=hyprctl create output headless HEADLESS-2
exec-once=sleep 3 && hyprctl create output headless HEADLESS-2
monitor=HEADLESS-2,1920x1080@60,0x0,1
'' else '''';
in ''

View File

@@ -32,6 +32,12 @@
share = true;
};
loginShellInit = ''
if uwsm check may-start; then
exec uwsm start hyprland-uwsm.desktop
fi
'';
initExtraFirst = ''
cat ${config.home.homeDirectory}/.cache/wal/sequences
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"