fix multiple tint2 handling

master
Daniel Napora 2022-05-12 23:56:36 +02:00
parent fb45c6c03d
commit 1fd13050b2
1 changed files with 2 additions and 2 deletions

View File

@ -151,13 +151,13 @@ qactions () {
out+=("<tt>$(printf "%-20s %20s" "$PADDING" "[ <b>$PHOR $PVERT $SPACE</b> ]")</tt>,^checkout(ppadding$i)")
out+=("<tt>$(printf "%-20s %20s" "$AUTOHIDE" "[ <b>$HIDE</b> ]")</tt>,^checkout(phide$i)")
out+=("^sep()")
out+=("$ICONS [ <b>$ICONTHEME</b> ],^checkout(iconthemes)")
out+=("$ICONS [ <b>$ICONTHEME</b> ],^checkout(iconthemes$i)")
out+=("^sep()")
if [ -f "/usr/share/mabox/lang/${LNG}/.config/tint2/${TINT2}" ];then
out+=("$RESET,t2ctl reset ${TINT2};me")
out+=("^sep()")
fi
out2+=("^tag(iconthemes)")
out2+=("^tag(iconthemes$i)")
for item in "/usr/share/icons"/*; do
if [[ -d $item ]]; then
out2+=("${item##*/},t2ctl icontheme ${item##*/} ${TINT};$me")