From 82e2fcfd0915047033599290109b4fb055fa3cf6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 29 Jan 2026 10:23:52 -0600 Subject: fix(hyprland): resolve autologin startup issues - Use start-hyprland wrapper instead of Hyprland directly (fixes "started without start-hyprland" warning) - Add init-keyring script to create empty-password keyring (fixes keyring password prompt with autologin) - Add easyeffects config with noWindowAfterStarting=true (starts minimized instead of fullscreen) - Install python-secretstorage for init-keyring script Co-Authored-By: Claude Opus 4.5 --- dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh') diff --git a/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh b/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh index 9d80353..753fdce 100644 --- a/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh +++ b/dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh @@ -6,21 +6,14 @@ [ -z "$SSH_TTY" ] || return 0 [ -z "$WAYLAND_DISPLAY" ] || return 0 [ -z "$DISPLAY" ] || return 0 -command -v Hyprland >/dev/null 2>&1 || 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 -# Setup logging (same pattern as start-hyprland wrapper) -_hypr_log_dir="$HOME/.local/var/log" -mkdir -p "$_hypr_log_dir" -_hypr_log="$_hypr_log_dir/hyprland-$(date +%Y-%m-%d-%H%M%S).log" - -# Clear screen and start Hyprland (no exec = return to shell on exit) +# Clear screen and start Hyprland via watchdog wrapper clear -Hyprland >"$_hypr_log" 2>&1 +start-hyprland # Hyprland exited - inform user echo "Hyprland session ended. Type 'start-hyprland' to restart." - -unset _hypr_log_dir _hypr_log -- cgit v1.2.3