add labwc to mb-reset script
This commit is contained in:
parent
118dc863c3
commit
0150c2c1ab
23
bin/mb-reset
23
bin/mb-reset
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Daniel Napora 2021-22 <napcok@gmail.com>
|
||||
# Daniel Napora 2021-24 <napcok@gmail.com>
|
||||
#: mb-reset - reset/update user config files to (current) distro defaults.
|
||||
#: It only affects files shipped with Mabox.
|
||||
#: Be aware that you may loose your own customizations (if any).
|
||||
@ -26,7 +26,9 @@
|
||||
#: rightpanel - right panel custom commands
|
||||
#: allmenus - overvrite all menus, panels and exit dialog
|
||||
#: logout - logout dialog
|
||||
|
||||
#: labwc - labwc session configs
|
||||
#: mabox-labwc - mabox-labwc session configs
|
||||
#: waybar - waybar configs
|
||||
|
||||
|
||||
case $LANG in
|
||||
@ -168,6 +170,20 @@ mkdir -p $HOME/.config/picom/include
|
||||
rsync -a /usr/share/mabox/common/picom/include/* $HOME/.config/picom/include/
|
||||
rsync -a /usr/share/mabox/common/picom/configs/mabox-jaskier.conf $HOME/.config/picom/configs/
|
||||
}
|
||||
__labwc() {
|
||||
mkdir -p $HOME/.config/labwc
|
||||
rsync -a /etc/skel/.config/labwc/* $HOME/.config/labwc/
|
||||
}
|
||||
__mabox-labwc() {
|
||||
mkdir -p $HOME/.config/mabox-labwc
|
||||
rsync -a /etc/skel/.config/mabox-labwc/* $HOME/.config/mabox-labwc/
|
||||
}
|
||||
__waybar() {
|
||||
mkdir -p $HOME/.config/waybar
|
||||
rsync -a /etc/skel/.config/waybar/* $HOME/.config/waybar/
|
||||
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
-c|check) __compare "$2";;
|
||||
@ -185,6 +201,9 @@ case "$1" in
|
||||
bashrc) __bashrc ;;
|
||||
terminator) __terminator ;;
|
||||
picom) __picom ;;
|
||||
labwc) __labwc ;;
|
||||
mabox-labwc) __mabox-labwc ;;
|
||||
waybar) __waybar ;;
|
||||
-h|--help) __usage ;;
|
||||
*) __usage ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user