From 3be98e5ef5247042fd219dded572910305b1a5a4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 9 Mar 2024 14:16:43 +0100 Subject: big restructure of `mode` scripts --- .local/share/mode/switch.d/dunst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 .local/share/mode/switch.d/dunst (limited to '.local/share/mode/switch.d/dunst') diff --git a/.local/share/mode/switch.d/dunst b/.local/share/mode/switch.d/dunst new file mode 100755 index 0000000..2a5a60e --- /dev/null +++ b/.local/share/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 + -- cgit v1.2.3