diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-29 10:23:52 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-29 10:23:52 -0600 |
| commit | 7bbf44bf4d82f940f5a3aea191c3a6a9c5dc5661 (patch) | |
| tree | 09a17efa44403439f638060478a1a4b614396e30 /dotfiles/hyprland/.profile.d | |
| parent | 56da76f88fce6f23e4e9822ea52de5bab6046db1 (diff) | |
| download | archsetup-7bbf44bf4d82f940f5a3aea191c3a6a9c5dc5661.tar.gz archsetup-7bbf44bf4d82f940f5a3aea191c3a6a9c5dc5661.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/hyprland/.profile.d')
| -rw-r--r-- | dotfiles/hyprland/.profile.d/99-hyprland-autostart.sh | 13 |
1 files changed, 3 insertions, 10 deletions
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 |
