hyprland: add eww to execs

This commit is contained in:
2025-10-18 03:08:20 +02:00
parent 6ad35925b2
commit 3a903205d9
3 changed files with 8 additions and 5 deletions

View File

@@ -10,9 +10,11 @@ sed -i "s|^\$border: #[0-9a-fA-F]\{6\};\$|\$border: #${colorHex};|" "$file" || {
exit 1
}
pgrep -x eww >/dev/null -u "$USER" && eww reload || {
log_error "Failed to reload eww, is it running?"
exit 1
}
if pgrep -x eww >/dev/null -u "$USER"; then
eww reload || {
log_error "Failed to reload eww, is it running?"
exit 1
}
fi
log_success "eww"