This commit is contained in:
2025-10-26 16:50:08 +01:00
parent f10af1ca02
commit 428de73f48
444 changed files with 254 additions and 67 deletions

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -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