xrootdatetime: better error handling
This commit is contained in:
parent
ac6de63ef2
commit
431992eff7
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue