master
Daniel Napora 2022-04-17 11:24:26 +02:00
parent 41a6b3a061
commit fed965c8ee
1 changed files with 6 additions and 1 deletions

View File

@ -92,11 +92,15 @@ autohide () {
restartt2 restartt2
} }
hideheight () { hideheight () {
sh "^autohide_height.*$" "autohide_height = ${1}" ${T2TCONFFILE} sd "^autohide_height.*$" "autohide_height = ${1}" ${T2CONFFILE}
sd "^panel_margin.*$" "panel_margin = 0 0" ${T2CONFFILE} sd "^panel_margin.*$" "panel_margin = 0 0" ${T2CONFFILE}
sd "^autohide .*$" "autohide = 1" ${T2CONFFILE} sd "^autohide .*$" "autohide = 1" ${T2CONFFILE}
restartt2 restartt2
} }
icontheme () {
sd "^launcher_icon_theme.*$" "launcher_icon_theme = ${1}" ${T2CONFFILE}
restartt2
}
reset () { reset () {
case "$LANG" in case "$LANG" in
@ -120,6 +124,7 @@ case "$1" in
spacing) spacing "$2" ;; spacing) spacing "$2" ;;
autohide) autohide "$2" ;; autohide) autohide "$2" ;;
hideheight) hideheight "$2" ;; hideheight) hideheight "$2" ;;
icontheme) icontheme "$2" ;;
reset) reset "$2" ;; reset) reset "$2" ;;
*) : ;; *) : ;;
esac esac