mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: flake update
This commit is contained in:
parent
ced72fb7bb
commit
9f365bbb9c
9 changed files with 137 additions and 233 deletions
|
@ -61,7 +61,7 @@ lib.optionalAttrs (!minimal) {
|
|||
};
|
||||
|
||||
# Autostart hyprland if on tty1 (once, don't restart after logout)
|
||||
programs.zsh.initExtra = lib.mkOrder 9999 ''
|
||||
programs.zsh.initContent = lib.mkOrder 9999 ''
|
||||
if [[ -t 0 && "$(tty || true)" == /dev/tty1 && -z "$DISPLAY" && -z "$WAYLAND_DISPLAY" ]] && uwsm check may-start; then
|
||||
echo "Login shell detected. Starting Hyprland..."
|
||||
uwsm start -S -F Hyprland
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue