summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-29 17:38:57 -0600
committerCraig Jennings <c@cjennings.net>2026-01-29 17:38:57 -0600
commit3104c06f7b8e95364d8381f0e1f4144fd449186e (patch)
treef947d0aca91e797a8d9abc4fd9bd6ee53c9dd489 /dotfiles
parentc7e41980468d2da9af8b5f5f40438b6c98d425b0 (diff)
downloadarchsetup-3104c06f7b8e95364d8381f0e1f4144fd449186e.tar.gz
archsetup-3104c06f7b8e95364d8381f0e1f4144fd449186e.zip
fix(hyprland): only reload hyprpm if plugins are installed
Check if hyprpm list has output before running reload. Prevents "headers are not up-to-date" error on fresh installs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/hyprland/.config/hypr/hyprland.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf
index 9182729..9458150 100644
--- a/dotfiles/hyprland/.config/hypr/hyprland.conf
+++ b/dotfiles/hyprland/.config/hypr/hyprland.conf
@@ -17,7 +17,7 @@ exec-once = systemctl --user start xdg-desktop-portal-hyprland xdg-desktop-porta
# Core services
exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
exec-once = dunst > ~/.local/var/log/dunst-$(date +%Y-%m-%d-%H%M%S).log 2>&1
-exec-once = hyprpm list &>/dev/null && hyprpm reload; sleep 2 && hyprctl dismissnotify -1
+exec-once = [ -n "$(hyprpm list 2>/dev/null)" ] && hyprpm reload; sleep 2 && hyprctl dismissnotify -1
# Desktop appearance (after portal is ready)
exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/trondheim-norway.jpg