master
Daniel Napora 2022-07-12 17:43:19 +02:00
parent 7af957d624
commit 0fcc09a150
1 changed files with 8 additions and 1 deletions

View File

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