diff options
Diffstat (limited to 'dotfiles/hyprland/.profile.d')
| -rw-r--r-- | dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh | 19 | ||||
| -rw-r--r-- | dotfiles/hyprland/.profile.d/hyprland.sh | 14 |
2 files changed, 0 insertions, 33 deletions
diff --git a/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh b/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh deleted file mode 100644 index 753fdce..0000000 --- a/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh +++ /dev/null @@ -1,19 +0,0 @@ -# 99-hyprland-autostart.sh -# Auto-start Hyprland on TTY1 console login - -# Guard: only on TTY1, not SSH, no existing display -[ "$XDG_VTNR" = "1" ] || return 0 -[ -z "$SSH_TTY" ] || return 0 -[ -z "$WAYLAND_DISPLAY" ] || return 0 -[ -z "$DISPLAY" ] || return 0 -command -v start-hyprland >/dev/null 2>&1 || return 0 - -# Skip if flag file exists (touch ~/.skip-hyprland to disable) -[ -f "$HOME/.skip-hyprland" ] && return 0 - -# Clear screen and start Hyprland via watchdog wrapper -clear -start-hyprland - -# Hyprland exited - inform user -echo "Hyprland session ended. Type 'start-hyprland' to restart." diff --git a/dotfiles/hyprland/.profile.d/hyprland.sh b/dotfiles/hyprland/.profile.d/hyprland.sh deleted file mode 100644 index be15b02..0000000 --- a/dotfiles/hyprland/.profile.d/hyprland.sh +++ /dev/null @@ -1,14 +0,0 @@ -# Hyprland profile settings -# These override X11 settings from .profile when running Wayland - -# Terminal (foot instead of st) -export TERM="xterm-256color" -export TERMINAL="foot" - -# XDG overrides for Wayland -export XDG_CURRENT_DESKTOP=Hyprland -export XDG_SESSION_TYPE=wayland -export XDG_SESSION_DESKTOP=Hyprland - -# alias startx to start Hyprland (muscle memory from X11) -alias startx="start-hyprland" |
