diff --git a/bin/t2ctl b/bin/t2ctl index c34d8a5..e0859d4 100755 --- a/bin/t2ctl +++ b/bin/t2ctl @@ -92,11 +92,15 @@ autohide () { restartt2 } hideheight () { - sh "^autohide_height.*$" "autohide_height = ${1}" ${T2TCONFFILE} + sd "^autohide_height.*$" "autohide_height = ${1}" ${T2CONFFILE} sd "^panel_margin.*$" "panel_margin = 0 0" ${T2CONFFILE} sd "^autohide .*$" "autohide = 1" ${T2CONFFILE} restartt2 } +icontheme () { + sd "^launcher_icon_theme.*$" "launcher_icon_theme = ${1}" ${T2CONFFILE} + restartt2 +} reset () { case "$LANG" in @@ -120,6 +124,7 @@ case "$1" in spacing) spacing "$2" ;; autohide) autohide "$2" ;; hideheight) hideheight "$2" ;; + icontheme) icontheme "$2" ;; reset) reset "$2" ;; *) : ;; esac