aboutsummaryrefslogtreecommitdiff
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
commit7e8d8473c9005969416aeb08cae033809fe90f98 (patch)
treea7132f8a3dd74d13e9ab4adb8d546134ec8b552b /dotfiles/hyprland/.profile.d
parenta3bf561c67bc155e3276395ad4276dc268e61370 (diff)
downloadarchsetup-7e8d8473c9005969416aeb08cae033809fe90f98.tar.gz
archsetup-7e8d8473c9005969416aeb08cae033809fe90f98.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.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