master
Daniel Napora 2022-03-26 09:06:09 +01:00
parent fc52f05130
commit 7be3c59295
1 changed files with 14 additions and 0 deletions

View File

@ -61,6 +61,18 @@ shrink () {
sd "^panel_shrink.*$" "panel_shrink = ${1}" ${T2CONFFILE} sd "^panel_shrink.*$" "panel_shrink = ${1}" ${T2CONFFILE}
restartt2 restartt2
} }
autohide () {
sd "^autohide .*$" "autohide = ${1}" ${T2CONFFILE}
restartt2
}
reset () {
case "$LANG" in
pl*) LNG=pl ;;
*) LNG=en ;;
esac
cp "/usr/share/mabox/lang/${LNG}/.config/tint2/${1}" "$HOME/.config/tint2/"
restartt2
}
case "$1" in case "$1" in
@ -73,5 +85,7 @@ case "$1" in
paddingh) paddinghor "$2" ;; paddingh) paddinghor "$2" ;;
paddingv) paddingver "$2" ;; paddingv) paddingver "$2" ;;
spacing) spacing "$2" ;; spacing) spacing "$2" ;;
autohide) autohide "$2" ;;
reset) reset "$2" ;;
*) : ;; *) : ;;
esac esac