summaryrefslogtreecommitdiff
path: root/dot-config/bspwm/scripts/bspdunst
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-06-03 19:56:39 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-06-03 19:56:39 +0800
commitca968c4e5040f1ff4b5b5e12d9312360d807dcc1 (patch)
tree9900920e8f566794560c1519678e344351d2803b /dot-config/bspwm/scripts/bspdunst
parent5f3deaff0bf006a1a353e57b82ad48c0e8f143bc (diff)
added submodules, change . -> dot (see man stow --dotfiles)
Diffstat (limited to 'dot-config/bspwm/scripts/bspdunst')
-rwxr-xr-xdot-config/bspwm/scripts/bspdunst11
1 files changed, 11 insertions, 0 deletions
diff --git a/dot-config/bspwm/scripts/bspdunst b/dot-config/bspwm/scripts/bspdunst
new file mode 100755
index 00000000..d0fabb7c
--- /dev/null
+++ b/dot-config/bspwm/scripts/bspdunst
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+# bspwm directory
+DIR="$HOME/.config/dunst"
+
+# Launch dunst daemon
+if [[ `pidof dunst` ]]; then
+ pkill dunst
+fi
+
+dunst -config "$DIR"/dunstrc &