From d2fb16b4719089eaeebbb63875b8e3e4e9e0cb09 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 8 Sep 2017 15:24:12 -0500 Subject: [PATCH] wal-set: Set up dunst reloading --- .bin/wal-set | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.bin/wal-set b/.bin/wal-set index ee5fe123..3193e7a5 100755 --- a/.bin/wal-set +++ b/.bin/wal-set @@ -20,6 +20,23 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +# Set a wallpaper wal -a 80 -i "$HOME/Pictures/Wallpapers/i3" +# Source its generated colors +source "$HOME/.cache/wal/colors.sh" + +# Restart dunst +pkill dunst +dunst \ + -lb "${color0}" \ + -nb "${color0}" \ + -cb "${color0}" \ + -lfr "${color0}" \ + -nfr "${color0}" \ + -cfr "${color0}" \ + -lf "${color7}" \ + -nf "${color15}" \ + -cf "${color9}" \ + exit 0