aboutsummaryrefslogtreecommitdiff
path: root/launch-dunst
diff options
context:
space:
mode:
Diffstat (limited to 'launch-dunst')
-rwxr-xr-xlaunch-dunst25
1 files changed, 25 insertions, 0 deletions
diff --git a/launch-dunst b/launch-dunst
new file mode 100755
index 0000000..4659fc3
--- /dev/null
+++ b/launch-dunst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# -lf/nf/cf color
+# Defines the foreground color for low, normal and critical notifications respectively.
+#
+# -lb/nb/cb color
+# Defines the background color for low, normal and critical notifications respectively.
+#
+# -lfr/nfr/cfr color
+# Defines the frame color for low, normal and critical notifications respectively.
+
+[ -f "$HOME/.cache/wal/colors.sh" ] && . "$HOME/.cache/wal/colors.sh"
+
+pidof dunst && killall dunst
+
+dunst -lf "${color0:-#ffffff}" \
+ -lb "${color1:-#eeeeee}" \
+ -lfr "${color2:-#dddddd}" \
+ -nf "${color3:-#cccccc}" \
+ -nb "${color4:-#bbbbbb}" \
+ -nfr "${color5:-#aaaaaa}" \
+ -cf "${color6:-#999999}" \
+ -cb "${color7:-#888888}" \
+ -cfr "${color8:-#777777}" > /dev/null 2>&1 &
+