Configuration files for my GNU/Linux installation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/dunst/.config/dunst/launch

15 lines
342 B

4 years ago
#!/bin/bash
# Generate config on demand
[ ! -z "$1" ] && [ "$1" == "-r" ] && \
$HOME/.local/bin/themer --template .config/dunst/dunstrc.template
# Terminate already running dunst instances
killall -q dunst
# Wait until the processes have been shut down
while pgrep -u $UID -x dunst >/dev/null; do sleep 1; done
# Launch dunst
dunst &