summaryrefslogtreecommitdiff
path: root/dotfiles/hyprland/.profile.d
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-29 10:23:52 -0600
committerCraig Jennings <c@cjennings.net>2026-01-29 10:23:52 -0600
commit82e2fcfd0915047033599290109b4fb055fa3cf6 (patch)
tree265b7d96c84c1db0d8192e52870048219e6b6ea1 /dotfiles/hyprland/.profile.d
parenteb120910415d40dd76bff7efe59927248d9125d1 (diff)
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.sh13
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