Change summary
dot_config/dunst/dunstrc.tmpl | 47 ++++++++++++++++++++++--------------
1 file changed, 29 insertions(+), 18 deletions(-)
Detailed changes
@@ -64,7 +64,12 @@
frame_width = 2
# Defines color of the frame around the notification window.
- frame_color = "#8AFF80"
+ {{- if eq .theme_variant "light" }}
+ frame_color = "#1E66F5"
+ {{- end }}
+ {{- if eq .theme_variant "dark" }}
+ frame_color = "#8AADF4"
+ {{- end }}
# Define a color for the separator.
# possible values are:
@@ -286,28 +291,34 @@
# Context menu.
context = mod4+shift+n
+{{- if eq .theme_variant "light" }}
[urgency_low]
- # IMPORTANT: colors have to be defined in quotation marks.
- # Otherwise the "#" and following would be interpreted as a comment.
- background = "#22212C"
- foreground = "#F8F8F2"
- timeout = 0
- # Icon for notifications with low urgency, uncomment to enable
- #icon = /path/to/icon
+ background = "#EFF1F5"
+ foreground = "#4C4F69"
[urgency_normal]
- background = "#22212C"
- foreground = "#F8F8F2"
- timeout = 0
- # Icon for notifications with normal urgency, uncomment to enable
- #icon = /path/to/icon
+ background = "#EFF1F5"
+ foreground = "#4C4F69"
[urgency_critical]
- background = "#22212C"
- foreground = "#F8F8F2"
- timeout = 0
- # Icon for notifications with critical urgency, uncomment to enable
- #icon = /path/to/icon
+ background = "#EFF1F5"
+ foreground = "#4C4F69"
+ frame_color = "#FE640B"
+{{- end }}
+{{- if eq .theme_variant "dark" }}
+[urgency_low]
+ background = "#24273A"
+ foreground = "#CAD3F5"
+
+[urgency_normal]
+ background = "#24273A"
+ foreground = "#CAD3F5"
+
+[urgency_critical]
+ background = "#24273A"
+ foreground = "#CAD3F5"
+ frame_color = "#F5A97F"
+{{- end }}
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.