fix multiple tint2 handling
parent
fb45c6c03d
commit
1fd13050b2
|
@ -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" "$PADDING" "[ <b>$PHOR $PVERT $SPACE</b> ]")</tt>,^checkout(ppadding$i)")
|
||||||
out+=("<tt>$(printf "%-20s %20s" "$AUTOHIDE" "[ <b>$HIDE</b> ]")</tt>,^checkout(phide$i)")
|
out+=("<tt>$(printf "%-20s %20s" "$AUTOHIDE" "[ <b>$HIDE</b> ]")</tt>,^checkout(phide$i)")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
out+=("$ICONS [ <b>$ICONTHEME</b> ],^checkout(iconthemes)")
|
out+=("$ICONS [ <b>$ICONTHEME</b> ],^checkout(iconthemes$i)")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
if [ -f "/usr/share/mabox/lang/${LNG}/.config/tint2/${TINT2}" ];then
|
if [ -f "/usr/share/mabox/lang/${LNG}/.config/tint2/${TINT2}" ];then
|
||||||
out+=("$RESET,t2ctl reset ${TINT2};me")
|
out+=("$RESET,t2ctl reset ${TINT2};me")
|
||||||
out+=("^sep()")
|
out+=("^sep()")
|
||||||
fi
|
fi
|
||||||
out2+=("^tag(iconthemes)")
|
out2+=("^tag(iconthemes$i)")
|
||||||
for item in "/usr/share/icons"/*; do
|
for item in "/usr/share/icons"/*; do
|
||||||
if [[ -d $item ]]; then
|
if [[ -d $item ]]; then
|
||||||
out2+=("${item##*/},t2ctl icontheme ${item##*/} ${TINT};$me")
|
out2+=("${item##*/},t2ctl icontheme ${item##*/} ${TINT};$me")
|
||||||
|
|
Loading…
Reference in New Issue