pidof muted
This commit is contained in:
parent
81179c3b50
commit
550f0c633b
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user