This commit is contained in:
Daniel Napora 2022-07-12 17:43:19 +02:00
parent 7af957d624
commit 0fcc09a150

View File

@ -24,6 +24,7 @@
#: leftpanel - left panel custom commands
#: rightpanel - right panel custom commands
#: logout - logout dialog
#: wrappers - nitrogen and xrandr Mabox wrappers
@ -112,8 +113,8 @@ rsync -a /usr/share/mabox/lang/$LNGDIR/.config/mabox/exit.csv $HOME/.config/mabo
__tint2() {
rm $HOME/.local/share/fonts/lucide.ttf
mkdir -p $HOME/.config/fontconfig/conf.d
fc-cache
rsync -a /usr/share/mabox/common/66-symbols.conf $HOME/.config/fontconfig/conf.d/
fc-cache
rsync -a /usr/share/mabox/common/volumettf $HOME/.config/tint2/scripts/
rsync -a /usr/share/mabox/lang/$LNGDIR/.config/tint2/*.tint2rc $HOME/.config/tint2/
killall -SIGUSR1 tint2
@ -154,6 +155,11 @@ __terminator() {
rsync -a /usr/share/mabox/common/terminator/* $HOME/.config/terminator/
}
__wrappers() {
rm $HOME/bin/nitrogen
rsync -a /usr/share/mabox/common/wrappers/* $HOME/.local/bin/
}
case "$1" in
-c|check) __compare "$2";;
"allmenus") __allmenus ;;
@ -169,6 +175,7 @@ case "$1" in
"obautostart") __obautostart ;;
"bashrc") __bashrc ;;
"terminator") __terminator ;;
"wrappers") __wrappers ;;
"-h|--help") __usage ;;
*) __usage ;;
esac