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

9 lines
265 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 -follow | sort); do
bash "$f"
done