From 550f0c633b0d02e88f9d2b9907b550a9965bb9f0 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Thu, 24 Feb 2022 18:02:51 +0100 Subject: [PATCH] pidof muted --- usr/bin/jgdesktops | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")