File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ local util = require " astrotheme.extras"
2+
3+ local M = {}
4+
5+ --- @param colors AstroThemePalette
6+ function M .generate (colors )
7+ return util .template (
8+ [[
9+ # ${_style_name} colors for dunst
10+ # For more configuration options see https://github.com/dunst-project/dunst/blob/master/dunstrc
11+
12+ [urgency_low]
13+ background = "${ui.inactive_base}"
14+ foreground = "${syntax.text}"
15+ frame_color = "${ui.border}"
16+
17+ [urgency_normal]
18+ background = "${ui.base}"
19+ foreground = "${syntax.text}"
20+ frame_color = "${ui.border}"
21+
22+ [urgency_critical]
23+ background = "${ui.highlight}"
24+ foreground = "${syntax.red}"
25+ frame_color = "${syntax.red}"
26+ ]] ,
27+ colors
28+ )
29+ end
30+
31+ return M
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ M.extras = {
1414 wezterm = { ext = " toml" , url = " https://wezfurlong.org/wezterm/config/files.html" , label = " WezTerm" },
1515 alacritty = { ext = " toml" , url = " https://github.com/alacritty/alacritty" , label = " Alacritty" },
1616 delta = { ext = " gitconfig" , url = " https://github.com/dandavison/delta" , label = " Delta" },
17+ dunst = { ext = " dunstrc" , url = " https://dunst-project.org/" , label = " Dunst" },
1718}
1819
1920function M .setup ()
You can’t perform that action at this time.
0 commit comments