move $path definition from apply-color* scripts to helper script

This commit is contained in:
2025-11-15 02:00:43 +01:00
parent 163cfda11e
commit 94be67bf43
16 changed files with 14 additions and 32 deletions

View File

@@ -1,6 +1,5 @@
#!/bin/bash
path=$(dirname "$(readlink -f "$0")")
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
exit 1
@@ -19,4 +18,3 @@ if pgrep -x "waybar" -u "$USER" >/dev/null; then
fi
log_success "waybar"