aboutsummaryrefslogtreecommitdiff
path: root/.config/mode/switch.d/dunst
diff options
context:
space:
mode:
Diffstat (limited to '.config/mode/switch.d/dunst')
-rwxr-xr-x.config/mode/switch.d/dunst21
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/mode/switch.d/dunst b/.config/mode/switch.d/dunst
new file mode 100755
index 0000000..2a5a60e
--- /dev/null
+++ b/.config/mode/switch.d/dunst
@@ -0,0 +1,21 @@
+#!/bin/sh
+cat "$XDG_CONFIG_HOME/dunst/base" - << EOF > "$XDG_CONFIG_HOME/dunst/dunstrc"
+frame_color = "$color0"
+
+[urgency_low]
+background = "$bg"
+foreground = "$fg"
+timeout = 10
+
+[urgency_normal]
+background = "$bg"
+foreground = "$fg"
+timeout = 10
+
+[urgency_critical]
+background = "$color1"
+foreground = "$bg"
+frame_color = "$color1"
+timeout = 0
+EOF
+