master
Daniel Napora 2023-08-19 16:45:29 +02:00
parent fe027f6e4a
commit c208149bf9
1 changed files with 3 additions and 3 deletions

View File

@ -444,7 +444,7 @@ qactions () {
out+=("^sep($TITLE)")
out+=("^sep($APPS)")
out+=("  $LAUNCHERS,jgtint2launcher")
if [ "$(pidof tint2)" ];then
if [ "$(pgrep -u $USER -f tint2)" ];then
i=0
#out+=("^sep($TINT2_CONFIGURE)")
while read -r pid cmd; do
@ -468,7 +468,7 @@ i=0
fi
fi
done < <(pgrep -a tint2)
done < <(pgrep -u $USER -a tint2)
fi
@ -479,7 +479,7 @@ PHWRUN="mabox-obstart phwmon"
. $HOME/.config/mabox/mabox.conf
out+=("^sep($TRAY_HWMON)")
if [ "$(pgrep -f phwmon.py)" ];then
if [ "$(pgrep -u $USER -f phwmon.py)" ];then
out+=("$STOP,mb-setvar phwmon_monitor=false;sleep 2;$PHWRUN;$me")
out+=("^sep()")
[[ $phwmon_cpu = false ]] && out+=("<big></big> <i><s>CPU</s></i>,mb-setvar phwmon_cpu=true;$PHWRUN;$me") || out+=("<big></big> CPU,mb-setvar phwmon_cpu=false;$PHWRUN;$me")