dotfiles/wal/bin/run-wal-hooks.sh

9 lines
265 B
Bash
Raw Normal View History

2020-03-19 22:32:18 +00:00
#!/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
2020-03-27 13:03:46 +00:00
for f in $(find "$HOME/.config/wal/hooks/" -maxdepth 1 -type f -follow | sort); do
2020-03-19 22:32:18 +00:00
bash "$f"
done