upd
This commit is contained in:
parent
be1105e2bb
commit
ca1f12dee2
@ -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+=("<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+=("^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)")
|
||||
|
Loading…
Reference in New Issue
Block a user