2023-06-17 06:25:01 +00:00
|
|
|
local util = require("tokyonight.util")
|
|
|
|
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
--- @param colors ColorScheme
|
|
|
|
function M.generate(colors)
|
|
|
|
local dunst = util.template(
|
|
|
|
[[
|
|
|
|
# TokyoNight colors for dunst
|
|
|
|
# For more configuraion options see https://github.com/dunst-project/dunst/blob/master/dunstrc
|
|
|
|
|
|
|
|
[urgency_low]
|
|
|
|
background = "${bg_dark}"
|
|
|
|
foreground = "${fg}"
|
2023-06-24 08:23:36 +00:00
|
|
|
frame_color = "${fg}"
|
2023-06-17 06:25:01 +00:00
|
|
|
|
|
|
|
[urgency_normal]
|
|
|
|
background = "${bg}"
|
|
|
|
foreground = "${fg}"
|
2023-06-24 08:23:36 +00:00
|
|
|
frame_color = "${fg}"
|
2023-06-17 06:25:01 +00:00
|
|
|
|
|
|
|
[urgency_critical]
|
|
|
|
background = "${bg_highlight}"
|
|
|
|
foreground = "${error}"
|
|
|
|
frame_color = "${error}"
|
|
|
|
]],
|
|
|
|
colors
|
|
|
|
)
|
|
|
|
return dunst
|
|
|
|
end
|
|
|
|
|
|
|
|
return M
|