xrootdatetime: better error handling
parent
ac6de63ef2
commit
431992eff7
|
@ -46,8 +46,7 @@ in
|
|||
systemd.user.services.xrootdatetime = {
|
||||
script = ''
|
||||
while true; do
|
||||
micMuted=$(${getExe pkgs.pamixer} --default-source --get-mute)
|
||||
if [[ "$micMuted" == "true" ]]; then
|
||||
if [[ "$(${getExe pkgs.pamixer} --default-source --get-mute)" == "true" ]]; then
|
||||
mutedString="Mic Muted "
|
||||
else
|
||||
mutedString=""
|
||||
|
|
Loading…
Reference in New Issue