diff --git a/usr/bin/jgtint2-pipe b/usr/bin/jgtint2-pipe
index e9605ae..0d05dc2 100755
--- a/usr/bin/jgtint2-pipe
+++ b/usr/bin/jgtint2-pipe
@@ -21,6 +21,7 @@ case $LANG in
COMPACT="Kompaktowy ?"
AUTOHIDE="Autoukrywanie ?"
SIZEHIDDEN="Rozmiar gdy ukryty"
+ ICONS="Ikony"
RESET="Resetuj"
TOP="Góra"
BOTTOM="Dół"
@@ -61,6 +62,7 @@ case $LANG in
COMPACT="Compact?"
AUTOHIDE="Autohide?"
SIZEHIDDEN="Size when hidden:"
+ ICONS="Icon theme"
RESET="Reset to default"
TOP="Top"
BOTTOM="Bottom"
@@ -101,6 +103,7 @@ case $LANG in
COMPACT="Compact?"
AUTOHIDE="Autohide?"
SIZEHIDDEN="Size when hidden:"
+ ICONS="Icon theme"
RESET="Reset to default"
TOP="Top"
BOTTOM="Bottom"
@@ -137,6 +140,7 @@ getvalues () {
read PHOR PVERT SPACE <<< "$(grep panel_padding ${TINT} | cut -d'=' -f2)"
read SHRINK <<< "$(grep panel_shrink ${TINT} | cut -d'=' -f2)"
read HIDE <<< "$(grep "autohide " ${TINT} | cut -d'=' -f2)"
+ read ICONTHEME <<< "$(grep "launcher_icon_theme" ${TINT} | cut -d'=' -f2)"
}
qactions () {
@@ -147,10 +151,19 @@ 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+=("^sep()")
if [ -f "/usr/share/mabox/lang/${LNG}/.config/tint2/${TINT2}" ];then
out+=("$RESET,t2ctl reset ${TINT2};me")
out+=("^sep()")
fi
+ out2+=("^tag(iconthemes)")
+ for item in "/usr/share/icons"/*; do
+ if [[ -d $item ]]; then
+ out2+=("${item##*/},t2ctl icontheme ${item##*/} ${TINT};$me")
+ fi
+ done
+
out2+=("^tag(ppos$i)")
out2+=("^sep($POSITION)")
out2+=("^sep($HORIZONTAL)")