Follow symlinks in wal hooks directory

This commit is contained in:
Jeremy Dormitzer 2020-03-27 09:03:46 -04:00
parent 34215518d1
commit 84880d3b96

View File

@ -3,6 +3,6 @@
# 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
for f in $(find "$HOME/.config/wal/hooks/" -maxdepth 1 -type f -follow | sort); do
bash "$f"
done