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 = {
|
systemd.user.services.xrootdatetime = {
|
||||||
script = ''
|
script = ''
|
||||||
while true; do
|
while true; do
|
||||||
micMuted=$(${getExe pkgs.pamixer} --default-source --get-mute)
|
if [[ "$(${getExe pkgs.pamixer} --default-source --get-mute)" == "true" ]]; then
|
||||||
if [[ "$micMuted" == "true" ]]; then
|
|
||||||
mutedString="Mic Muted "
|
mutedString="Mic Muted "
|
||||||
else
|
else
|
||||||
mutedString=""
|
mutedString=""
|
||||||
|
|
Loading…
Reference in a new issue