stow
This commit is contained in:
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
@@ -1,7 +1,11 @@
|
||||
#!/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"
|
||||
|
||||
if pgrep -x "quickshell" -u "$USER" >/dev/null; then
|
||||
qs ipc call colors setPrimary ${colorHex} || {
|
||||
@@ -13,4 +17,5 @@ if pgrep -x "quickshell" -u "$USER" >/dev/null; then
|
||||
else
|
||||
log_error "quickshell is not running. Cannot apply color."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user