9 lines
257 B
Bash
9 lines
257 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# This script runs hooks found in $HOME/.config/wal/hooks.
|
||
|
# It's meant to be passed to wal as follows: wal -i /path/to/img -o run-wal-hooks.sh
|
||
|
|
||
|
for f in $(find "$HOME/.config/wal/hooks/" -maxdepth 1 -type f | sort); do
|
||
|
bash "$f"
|
||
|
done
|