stow
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
path=$(dirname "$(readlink -f "$0")")
|
||||
. "$path"/../../utils/apply-color-helper
|
||||
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
|
||||
echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
|
||||
exit 1
|
||||
}
|
||||
. "$HOME/.local/snippets/apply-color-helper"
|
||||
|
||||
file="$path"/fuzzel.ini
|
||||
entries="match selection-match border"
|
||||
|
||||
if pgrep -x "fuzzel" -u "$USER" > /dev/null; then
|
||||
if pgrep -x "fuzzel" -u "$USER" >/dev/null; then
|
||||
pkill -x fuzzel || log_error "Failed to kill fuzzel process"
|
||||
# and move on
|
||||
fi
|
||||
@@ -19,4 +23,5 @@ for entry in $entries; do
|
||||
}
|
||||
done
|
||||
|
||||
log_success "fuzzel"
|
||||
log_success "fuzzel"
|
||||
|
||||
Reference in New Issue
Block a user