diff --git a/usr/bin/jgdesktops b/usr/bin/jgdesktops index 0c5dde8..39fc0f4 100755 --- a/usr/bin/jgdesktops +++ b/usr/bin/jgdesktops @@ -28,6 +28,7 @@ case $LANG in ENABLE="Włącz" DISABLE="Wyłącz" DESK_SERVICES="Usługi pulpitu" + TINT2="Tint2 panel" CONKY="Sesja Conky" PICOM="Picom - kompozytor" CORTILE="Cortile - tiling manager" @@ -77,6 +78,7 @@ case $LANG in ENABLE="Enable" DISABLE="Disable" DESK_SERVICES="Desktop services" + TINT2="Tint2 panel session" CONKY="Conky session" PICOM="Picom - compositor" CORTILE="Cortile - tiling manager" @@ -126,6 +128,7 @@ case $LANG in ENABLE="Enable" DISABLE="Disable" DESK_SERVICES="Desktop services" + TINT2="Tint2 panel session" CONKY="Conky session" PICOM="Picom - compositor" CORTILE="Cortile - tiling manager" @@ -218,7 +221,12 @@ out+=("  $REMOVE_LAST,wmctrl -n $((desktops-1));$me") out+=("^sep($DESK_SERVICES)") - +if pidof tint2 &>/dev/null;then +#out+=("󰄲 $TINT2 $RUNNING,killall tint2;$me") +: +else +out+=("󰄱 $TINT2 $STOPPED,mb-tint2-session &>/dev/null;$me") +fi if pidof conky &>/dev/null; then out+=("󰄲 $CONKY $RUNNING,conky_toggle;$me") else