updated eww files and bash scripts

This commit is contained in:
willifan 2024-06-01 17:20:15 +02:00
parent 5a419c03f3
commit cd7e93374e
11 changed files with 119 additions and 60 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
generate() {
message=$(wpctl get-volume @DEFAULT_AUDIO_SINK@)
@ -10,7 +10,7 @@ generate() {
muted=0
fi
echo '{"volume":"'$volume'","muted":"'$muted'"}'
echo '{"volume":"'"$volume"'","muted":"'"$muted"'"}'
}
generate