pidof muted

master
Daniel Napora 2022-02-24 18:02:51 +01:00
parent 81179c3b50
commit 550f0c633b
1 changed files with 2 additions and 2 deletions

View File

@ -130,12 +130,12 @@ desktops=$(wmctrl -d |wc -l)
out+=("  $ADD,wmctrl -n $((desktops+1));$me")
out+=("  $REMOVE_LAST,wmctrl -n $((desktops-1));$me")
out+=("^sep()")
if pidof conky ; then
if pidof conky &>/dev/null; then
out+=("$DISABLE Conky,conky_toggle;$me")
else
out+=("$ENABLE Conky,conky_toggle;$me")
fi
if pidof picom ; then
if pidof picom &>/dev/null; then
out+=("$DISABLE Picom,compton_toggle;$me")
else
out+=("$ENABLE Picom,compton_toggle;$me")