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

9 lines
257 B
Bash
Executable File

#!/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