mb-reset update
parent
6a78d462d6
commit
c478f13805
10
bin/mb-reset
10
bin/mb-reset
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Daniel Napora 2021 <napcok@gmail.com>
|
# Daniel Napora 2021 <napcok@gmail.com>
|
||||||
#: mb-reset - reset/update user config files to current defaults. It only affects files shipped with Mabox.
|
#: mb-reset - reset/update user config files to current defaults. It only affects files shipped with Mabox. Be aware that you may loose your own customizations (if any).
|
||||||
|
#:
|
||||||
#: Usage: mb-reset option
|
#: Usage: mb-reset option
|
||||||
#:
|
#:
|
||||||
#: Options:
|
#: Options:
|
||||||
|
@ -28,9 +29,15 @@ __usage() {
|
||||||
__allmenus() {
|
__allmenus() {
|
||||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/settings* $HOME/.config/mabox/
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/settings* $HOME/.config/mabox/
|
||||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/jgmenu/*.csv $HOME/.config/jgmenu/
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/jgmenu/*.csv $HOME/.config/jgmenu/
|
||||||
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/favorites.csv $HOME/.config/mabox/
|
||||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/places* $HOME/.config/mabox/
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/places* $HOME/.config/mabox/
|
||||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/right* $HOME/.config/mabox/
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/right* $HOME/.config/mabox/
|
||||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/exit.csv $HOME/.config/mabox/
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/exit.csv $HOME/.config/mabox/
|
||||||
|
mb-setvar places_menusettingspipe=true
|
||||||
|
mb-setvar places_sysinfopipe=true
|
||||||
|
mb-setvar places_keyspipe=true
|
||||||
|
mb-setvar places_sshpipe=true
|
||||||
|
mb-setvar places_softwarepipe=true
|
||||||
}
|
}
|
||||||
|
|
||||||
__mainmenu() {
|
__mainmenu() {
|
||||||
|
@ -65,7 +72,6 @@ rsync -a /usr/share/mb-jgtools/jgobthemes/* $HOME/.config/mabox/jgobthemes/
|
||||||
}
|
}
|
||||||
|
|
||||||
__conky() {
|
__conky() {
|
||||||
echo "Not implemented yet"
|
|
||||||
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/conky/*conkyrc $HOME/.config/conky/
|
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/conky/*conkyrc $HOME/.config/conky/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue