swaync: unify the *DEBUG variables

This commit is contained in:
2024-04-15 21:29:17 +00:00
parent b55c903a81
commit 6b5e0e57bc
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ event="$2"
log() { log() {
if [ -n "$SWAYNC_FBCLI_DEBUG" ]; then if [ -n "$SWAYNC_DEBUG" ]; then
printf "%s\n" "$1" printf "%s\n" "$1"
fi fi
} }

View File

@@ -10,7 +10,7 @@ type="$2"
service="$3" service="$3"
log() { log() {
if [ -n "$SWAYNC_SERVICES_DEBUG" ]; then if [ -n "$SWAYNC_DEBUG" ]; then
printf "%s\n" "$1" printf "%s\n" "$1"
fi fi
} }