Add beginning of wal setup

This commit is contained in:
Jeremy Dormitzer 2020-03-19 18:32:18 -04:00
parent e8506c71a0
commit 74c769c27b
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
feh --bg-fill "$(cat $HOME/.cache/wal/wal)"

8
wal/bin/run-wal-hooks.sh Executable file
View File

@ -0,0 +1,8 @@
#!/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