From d0de212279486af0602b8c13d7f83cec32084f98 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 29 Jan 2026 17:38:57 -0600 Subject: 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 --- dotfiles/hyprland/.config/hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/hyprland/.config/hypr/hyprland.conf') 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 -- cgit v1.2.3