12 lines
329 B
Bash
Executable File
12 lines
329 B
Bash
Executable File
#!/bin/bash
|
|
|
|
order=("dwm-cursorwarp" "dwm-fullgaps" "dwm-torus")
|
|
|
|
for patch in ${order[@]}; do
|
|
patch_file=$(ls patches | grep $patch)
|
|
echo "applying patch $patch_file..."
|
|
git apply "patches/$patch_file" || patch < "patches/$patch_file" || echo "failed to patch $patch_file. it may've already been applied!"
|
|
done
|
|
|
|
rm *.orig
|