t2ctl
parent
fc52f05130
commit
7be3c59295
14
bin/t2ctl
14
bin/t2ctl
|
@ -61,6 +61,18 @@ shrink () {
|
|||
sd "^panel_shrink.*$" "panel_shrink = ${1}" ${T2CONFFILE}
|
||||
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
|
||||
|
@ -73,5 +85,7 @@ case "$1" in
|
|||
paddingh) paddinghor "$2" ;;
|
||||
paddingv) paddingver "$2" ;;
|
||||
spacing) spacing "$2" ;;
|
||||
autohide) autohide "$2" ;;
|
||||
reset) reset "$2" ;;
|
||||
*) : ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue