From 1fd13050b29e288c4276c190722b9488c13a4695 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Thu, 12 May 2022 23:56:36 +0200 Subject: [PATCH] fix multiple tint2 handling --- usr/bin/jgtint2-pipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/jgtint2-pipe b/usr/bin/jgtint2-pipe index 0d05dc2..8422080 100755 --- a/usr/bin/jgtint2-pipe +++ b/usr/bin/jgtint2-pipe @@ -151,13 +151,13 @@ qactions () { out+=("$(printf "%-20s %20s" "$PADDING" "[ $PHOR $PVERT $SPACE ]"),^checkout(ppadding$i)") out+=("$(printf "%-20s %20s" "$AUTOHIDE" "[ $HIDE ]"),^checkout(phide$i)") out+=("^sep()") - out+=("$ICONS [ $ICONTHEME ],^checkout(iconthemes)") + out+=("$ICONS [ $ICONTHEME ],^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")