scripts

Scripts
git clone git://git.wimdupont.com/scripts.git
Log | Files | Refs | LICENSE

commit 61e24b77c8a1b8d65c9cb7205e9446166bba3f21
parent 4c894b28254d65ef9099949513a847f64d343c30
Author: Wim Dupont <wim@wimdupont.com>
Date:   Sun, 22 Dec 2024 21:38:35 +0100

sinstaller add config.h to diff

Diffstat:
Mbin/sinstaller | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/sinstaller b/bin/sinstaller @@ -29,11 +29,12 @@ PROGRAMS=( "slock" "st" "surf" + "sent" ) PATCHES=( - "st;https://st.suckless.org/patches/alpha_focus_highlight/st-focus-20230610-68d1ad9.diff" - "st;https://st.suckless.org/patches/scrollback/st-scrollback-0.8.5.diff" + #"st;https://st.suckless.org/patches/alpha_focus_highlight/st-focus-20230610-68d1ad9.diff" + "st;https://st.suckless.org/patches/scrollback/st-scrollback-0.9.2.diff" "dwm;https://dwm.suckless.org/patches/statuspadding/dwm-statuspadding-6.3.diff" "dwm;https://dwm.suckless.org/patches/alpha/dwm-fixborders-6.2.diff" "slock;https://tools.suckless.org/slock/patches/background-image/slock-background-image-20220318-1c5a538.diff" @@ -112,6 +113,7 @@ patch_config(){ save_config(){ declare -r PROGRAM=$1 cd "${ROOT_DIR}/$PROGRAM" + git add -N config.h git diff > "$ROOT_DIR/patches-config/$PROGRAM-config.diff" } @@ -124,6 +126,7 @@ execute_installer(){ patch_config $PROGRAM cd "${ROOT_DIR}/$PROGRAM" + make sudo make clean install }