diff --git a/usr/bin/jgdesktops b/usr/bin/jgdesktops index c916288..6c25740 100755 --- a/usr/bin/jgdesktops +++ b/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")