upd
parent
be1105e2bb
commit
ca1f12dee2
|
@ -21,6 +21,7 @@ case $LANG in
|
||||||
COMPACT="Kompaktowy ?"
|
COMPACT="Kompaktowy ?"
|
||||||
AUTOHIDE="Autoukrywanie ?"
|
AUTOHIDE="Autoukrywanie ?"
|
||||||
SIZEHIDDEN="Rozmiar gdy ukryty"
|
SIZEHIDDEN="Rozmiar gdy ukryty"
|
||||||
|
ICONS="Ikony"
|
||||||
RESET="Resetuj"
|
RESET="Resetuj"
|
||||||
TOP="Góra"
|
TOP="Góra"
|
||||||
BOTTOM="Dół"
|
BOTTOM="Dół"
|
||||||
|
@ -61,6 +62,7 @@ case $LANG in
|
||||||
COMPACT="Compact?"
|
COMPACT="Compact?"
|
||||||
AUTOHIDE="Autohide?"
|
AUTOHIDE="Autohide?"
|
||||||
SIZEHIDDEN="Size when hidden:"
|
SIZEHIDDEN="Size when hidden:"
|
||||||
|
ICONS="Icon theme"
|
||||||
RESET="Reset to default"
|
RESET="Reset to default"
|
||||||
TOP="Top"
|
TOP="Top"
|
||||||
BOTTOM="Bottom"
|
BOTTOM="Bottom"
|
||||||
|
@ -101,6 +103,7 @@ case $LANG in
|
||||||
COMPACT="Compact?"
|
COMPACT="Compact?"
|
||||||
AUTOHIDE="Autohide?"
|
AUTOHIDE="Autohide?"
|
||||||
SIZEHIDDEN="Size when hidden:"
|
SIZEHIDDEN="Size when hidden:"
|
||||||
|
ICONS="Icon theme"
|
||||||
RESET="Reset to default"
|
RESET="Reset to default"
|
||||||
TOP="Top"
|
TOP="Top"
|
||||||
BOTTOM="Bottom"
|
BOTTOM="Bottom"
|
||||||
|
@ -137,6 +140,7 @@ getvalues () {
|
||||||
read PHOR PVERT SPACE <<< "$(grep panel_padding ${TINT} | cut -d'=' -f2)"
|
read PHOR PVERT SPACE <<< "$(grep panel_padding ${TINT} | cut -d'=' -f2)"
|
||||||
read SHRINK <<< "$(grep panel_shrink ${TINT} | cut -d'=' -f2)"
|
read SHRINK <<< "$(grep panel_shrink ${TINT} | cut -d'=' -f2)"
|
||||||
read HIDE <<< "$(grep "autohide " ${TINT} | cut -d'=' -f2)"
|
read HIDE <<< "$(grep "autohide " ${TINT} | cut -d'=' -f2)"
|
||||||
|
read ICONTHEME <<< "$(grep "launcher_icon_theme" ${TINT} | cut -d'=' -f2)"
|
||||||
}
|
}
|
||||||
|
|
||||||
qactions () {
|
qactions () {
|
||||||
|
@ -147,10 +151,19 @@ 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+=("^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)")
|
||||||
|
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+=("^tag(ppos$i)")
|
||||||
out2+=("^sep($POSITION)")
|
out2+=("^sep($POSITION)")
|
||||||
out2+=("^sep($HORIZONTAL)")
|
out2+=("^sep($HORIZONTAL)")
|
||||||
|
|
Loading…
Reference in New Issue