t2 start in jgdesktops

This commit is contained in:
Daniel Napora 2023-06-10 09:46:09 +02:00
parent 4dc6270630
commit fe027f6e4a

View File

@ -28,6 +28,7 @@ case $LANG in
ENABLE="Włącz"
DISABLE="Wyłącz"
DESK_SERVICES="Usługi pulpitu"
TINT2="<b>Tint2 panel</b>"
CONKY="Sesja <b>Conky</b>"
PICOM="<b>Picom</b> - kompozytor"
CORTILE="<b>Cortile</b> - tiling manager"
@ -77,6 +78,7 @@ case $LANG in
ENABLE="Enable"
DISABLE="Disable"
DESK_SERVICES="Desktop services"
TINT2="<b>Tint2 panel</b> session"
CONKY="<b>Conky</b> session"
PICOM="<b>Picom</b> - compositor"
CORTILE="<b>Cortile</b> - tiling manager"
@ -126,6 +128,7 @@ case $LANG in
ENABLE="Enable"
DISABLE="Disable"
DESK_SERVICES="Desktop services"
TINT2="<b>Tint2 panel</b> session"
CONKY="<b>Conky</b> session"
PICOM="<b>Picom</b> - compositor"
CORTILE="<b>Cortile</b> - 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+=("<big>󰄲</big> $TINT2 <i>$RUNNING</i>,killall tint2;$me")
:
else
out+=("<big>󰄱</big> $TINT2 <i>$STOPPED</i>,mb-tint2-session &>/dev/null;$me")
fi
if pidof conky &>/dev/null; then
out+=("<big>󰄲</big> $CONKY <i>$RUNNING</i>,conky_toggle;$me")
else