pidof muted

master
Daniel Napora 1 year ago
parent 81179c3b50
commit 550f0c633b
  1. 4
      usr/bin/jgdesktops

@ -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…
Cancel
Save