mb-reset update
This commit is contained in:
parent
dc1b4a6ce4
commit
f7ae2614a3
23
bin/mb-reset
23
bin/mb-reset
@ -5,15 +5,19 @@
|
||||
#: Usage: mb-reset option
|
||||
#:
|
||||
#: Options:
|
||||
#: obrcxml - rc.xml default OpenBox configuration file
|
||||
#: obautostart - default autostart file
|
||||
#: bashrc - bash config file (~/.bashrc)
|
||||
#: terminator - terminator config
|
||||
#: conky - overwrite conky config files in ~/.config/conky/
|
||||
#: tint2 - overwrite tint2 panel config files in ~/.config/tint2/
|
||||
#: jgthemes - overwrite menu/sidepanels color schemes in ~/.config/mabox/jgobthemes/
|
||||
#: mainmenu - overwrite main menu files (favorites.csv)
|
||||
#: leftpanel - left panel custom commands
|
||||
#: rightpanel - right panel custom commands
|
||||
#: logout - logout dialog
|
||||
#: obrcxml - rc.xml default OpenBox configuration file
|
||||
#: obautostart - default autostart file
|
||||
#: conky - overwrite conky config files in ~/.config/conky/
|
||||
|
||||
|
||||
|
||||
case $LANG in
|
||||
pl*) LNGDIR="pl";;
|
||||
@ -72,7 +76,8 @@ rsync -a /usr/share/mb-jgtools/jgobthemes/* $HOME/.config/mabox/jgobthemes/
|
||||
}
|
||||
|
||||
__conky() {
|
||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/conky/*conkyrc $HOME/.config/conky/
|
||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/conky/* $HOME/.config/conky/
|
||||
killall -SIGUSR1 conky
|
||||
}
|
||||
|
||||
__maboxthemes() {
|
||||
@ -87,6 +92,14 @@ __obautostart() {
|
||||
rsync -a /usr/share/mabox/common/autostart $HOME/.config/openbox/
|
||||
}
|
||||
|
||||
__bashrc() {
|
||||
rsync -a /usr/share/mabox/common/.bashrc $HOME/
|
||||
}
|
||||
|
||||
__terminator() {
|
||||
rsync -a /usr/share/mabox/common/terminator/* $HOME/.config/terminator/
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
"allmenus") __allmenus ;;
|
||||
"mainmenu") __mainmenu ;;
|
||||
@ -99,6 +112,8 @@ case "$1" in
|
||||
"maboxthemes") __maboxthemes ;;
|
||||
"obrcxml") __obrcxml ;;
|
||||
"obautostart") __obautostart ;;
|
||||
"bashrc") __bashrc ;;
|
||||
"terminator") __terminator ;;
|
||||
"-h|--help") __usage ;;
|
||||
*) __usage ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user