aboutsummaryrefslogtreecommitdiff
path: root/launch-dunst
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-05-08 08:57:15 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-05-08 08:57:15 +0200
commit8aca8c547605f536bc295dd1941de1ccb05d7b2e (patch)
treed1ef1f0fd3f271b586f01567ef9065617dd83336 /launch-dunst
parentaf70c01c0e07289064b926374232add1ad90631b (diff)
downloadscripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.tar.gz
scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.tar.bz2
scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.zip
added more scripts
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 &
+