mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 15:43:06 +02:00
10 lines
391 B
Plaintext
10 lines
391 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
# Recompile dwm after editing ~/.local/src/dwm/config.h. Log out and back in
|
||
|
|
# (lightdm) to apply — dwm has no in-place restart without the restart patch.
|
||
|
|
set -eu
|
||
|
|
cd "$HOME/.local/src/dwm" || { echo "dwm source not found"; exit 1; }
|
||
|
|
sudo make clean install
|
||
|
|
printf '\n>>> dwm rebuilt. Log out and back in to apply the new config. <<<\n'
|
||
|
|
printf 'Press Enter to close…'
|
||
|
|
read -r _
|