From 0fcc09a150c692806e4e5832c0dc86e35fc44ebb Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Tue, 12 Jul 2022 17:43:19 +0200 Subject: [PATCH] mb-reset --- bin/mb-reset | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/mb-reset b/bin/mb-reset index d9d8a79..cb5bc86 100755 --- a/bin/mb-reset +++ b/bin/mb-reset @@ -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