update
This commit is contained in:
@@ -24,6 +24,7 @@ case $LANG in
|
|||||||
TITLE="Konfiguracja Panelu"
|
TITLE="Konfiguracja Panelu"
|
||||||
PANEL="Panel"
|
PANEL="Panel"
|
||||||
_FLOATING_PANEL="Pływający panel"
|
_FLOATING_PANEL="Pływający panel"
|
||||||
|
_LOGO="Kolorowalne Logo"
|
||||||
POSITION="Pozycja"
|
POSITION="Pozycja"
|
||||||
SIZE="Rozmiar"
|
SIZE="Rozmiar"
|
||||||
WIDTH="Szerokość"
|
WIDTH="Szerokość"
|
||||||
@@ -109,6 +110,7 @@ case $LANG in
|
|||||||
TITLE="Panel Tint2"
|
TITLE="Panel Tint2"
|
||||||
PANEL="Panel"
|
PANEL="Panel"
|
||||||
_FLOATING_PANEL="Floating panel"
|
_FLOATING_PANEL="Floating panel"
|
||||||
|
_LOGO="Colorable Logo"
|
||||||
POSITION="Position"
|
POSITION="Position"
|
||||||
SIZE="Size"
|
SIZE="Size"
|
||||||
WIDTH="Width"
|
WIDTH="Width"
|
||||||
@@ -195,6 +197,7 @@ case $LANG in
|
|||||||
TITLE="Configure Panel"
|
TITLE="Configure Panel"
|
||||||
PANEL="Panel"
|
PANEL="Panel"
|
||||||
_FLOATING_PANEL="Floating panel"
|
_FLOATING_PANEL="Floating panel"
|
||||||
|
_LOGO="Colorable Logo"
|
||||||
POSITION="Position"
|
POSITION="Position"
|
||||||
SIZE="Size"
|
SIZE="Size"
|
||||||
WIDTH="Width"
|
WIDTH="Width"
|
||||||
@@ -289,7 +292,11 @@ getvalues () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
qactions () {
|
qactions () {
|
||||||
[[ "$HOR" -gt 1 ]] && out+=("<big>${cbon}</big> $_FLOATING_PANEL,t2ctl postype edge ${TINT};$me") || out+=("<big>${cboff}</big> $_FLOATING_PANEL,t2ctl postype float ${TINT};$me")
|
if grep "icons/mabox-logo-" ${TINT} 2>/dev/null ;then
|
||||||
|
read LOGO <<< "$(grep icons/mabox-logo- ${TINT} | cut -d'/' -f3)"
|
||||||
|
[[ "${LOGO}" == "mabox-logo-square.svg" ]] && out+=("<big>${cbon}</big> $_LOGO,t2ctl logo default ${TINT};$me") || out+=("<big>${cboff}</big> $_LOGO,t2ctl logo color ${TINT};$me")
|
||||||
|
fi
|
||||||
|
[[ "$HOR" -gt 1 ]] && out+=("<big>${cbon}</big> $_FLOATING_PANEL,t2ctl postype edge ${TINT};$me") || out+=("<big>${cboff}</big> $_FLOATING_PANEL,t2ctl postype float ${TINT};$me")
|
||||||
#out+=("<tt>$(printf "%-20s %20s" "$POSITION" "[ <b>$VE $HO</b> ]")</tt>,^checkout(ppos$i)")
|
#out+=("<tt>$(printf "%-20s %20s" "$POSITION" "[ <b>$VE $HO</b> ]")</tt>,^checkout(ppos$i)")
|
||||||
#out+=("<tt>$(printf "%-20s %20s" "$SIZE" "[ <b>$W</b> ]")</tt>,^checkout(pwidth$i)")
|
#out+=("<tt>$(printf "%-20s %20s" "$SIZE" "[ <b>$W</b> ]")</tt>,^checkout(pwidth$i)")
|
||||||
#out+=("<tt>$(printf "%-20s %20s" "$WIDTH" "[ <b>$H</b> ]")</tt>,^checkout(pheight$i)")
|
#out+=("<tt>$(printf "%-20s %20s" "$WIDTH" "[ <b>$H</b> ]")</tt>,^checkout(pheight$i)")
|
||||||
@@ -521,7 +528,7 @@ qactions () {
|
|||||||
out2+=("")
|
out2+=("")
|
||||||
out2+=("^tag(pheight$i)")
|
out2+=("^tag(pheight$i)")
|
||||||
out2+=("^sep($WIDTH)")
|
out2+=("^sep($WIDTH)")
|
||||||
heights=(24 28 32 36 40 48)
|
heights=(24 28 32 36 40 44 48)
|
||||||
for hi in "${heights[@]}"
|
for hi in "${heights[@]}"
|
||||||
do
|
do
|
||||||
[[ "$H" == "$hi" ]] && out2+=("<big>${ron}</big> <b>$hi px</b>,t2ctl height $hi ${TINT};$me") || out2+=("<big>${roff}</big> $hi px,t2ctl height $hi ${TINT};$me")
|
[[ "$H" == "$hi" ]] && out2+=("<big>${ron}</big> <b>$hi px</b>,t2ctl height $hi ${TINT};$me") || out2+=("<big>${roff}</big> $hi px,t2ctl height $hi ${TINT};$me")
|
||||||
|
|||||||
Reference in New Issue
Block a user