Update colors with catppuccin

This commit is contained in:
Hydroxycarbamide 2022-09-15 00:44:25 +02:00
parent 0ff84042ab
commit b725dccade
29 changed files with 162 additions and 138 deletions

View file

@ -45,13 +45,13 @@ naughty.connect_signal(
function(n)
if n.urgency == "critical" then
n.title = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>",
cat["Red"], n.title) or ""
n.message = string.format("<span foreground='%s' font='Ubuntu 12'>%s</span>", cat["Red"], n.message) or ""
n.app_name = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>", cat["Red"], n.app_name) or ""
cat["Maroon"], n.title) or ""
n.message = string.format("<span foreground='%s' font='Ubuntu 12'>%s</span>", cat["Maroon"], n.message) or ""
n.app_name = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>", cat["Maroon"], n.app_name) or ""
n.bg = cat["Surface0"]
else
n.title = string.format("<span foreground='%s' font='Ubuntu, ExtraBold 12'>%s</span>",
color["White"], n.title) or ""
cat["Text"], n.title) or ""
n.message = string.format("<span foreground='%s' font='Ubuntu 12'>%s</span>", cat['Text'], n.message) or ""
n.bg = cat["Surface0"]
n.timeout = n.timeout or 5
@ -63,15 +63,15 @@ naughty.connect_signal(
n.actions = { naughty.action {
program = "Spotify",
id = "skip-prev",
icon = gears.color.recolor_image(icondir .. "skip-prev.svg", color["Cyan200"])
icon = gears.color.recolor_image(icondir .. "skip-prev.svg", cat["Lavender"])
}, naughty.action {
program = "Spotify",
id = "play-pause",
icon = gears.color.recolor_image(icondir .. "play-pause.svg", color["Cyan200"])
icon = gears.color.recolor_image(icondir .. "play-pause.svg", cat["Lavender"])
}, naughty.action {
program = "Spotify",
id = "skip-next",
icon = gears.color.recolor_image(icondir .. "skip-next.svg", color["Cyan200"])
icon = gears.color.recolor_image(icondir .. "skip-next.svg", cat["Lavender"])
} }
use_image = true
end
@ -97,7 +97,7 @@ naughty.connect_signal(
},
forced_height = dpi(35),
forced_width = dpi(35),
fg = color["Cyan200"],
fg = cat["Lavender"],
bg = cat["Surface0"],
shape = function(cr, width, height)
gears.shape.rounded_rect(cr, width, height, dpi(6))
@ -126,7 +126,7 @@ naughty.connect_signal(
margins = dpi(5),
widget = wibox.container.margin
},
fg = color["Green200"],
fg = cat["Green"],
bg = cat["Surface0"],
shape = function(cr, width, height)
gears.shape.rounded_rect(cr, width, height, dpi(6))