Update colors with catppuccin
This commit is contained in:
parent
0ff84042ab
commit
b725dccade
29 changed files with 162 additions and 138 deletions
|
@ -5,6 +5,7 @@
|
|||
-- Awesome Libs
|
||||
local awful = require("awful")
|
||||
local color = require("src.theme.colors")
|
||||
local cat = require("src.theme.catppuccin")
|
||||
local dpi = require("beautiful").xresources.apply_dpi
|
||||
local gears = require("gears")
|
||||
local wibox = require("wibox")
|
||||
|
@ -73,7 +74,7 @@ local create_titlebar = function(c, bg, size)
|
|||
{
|
||||
awful.titlebar.widget.closebutton(c),
|
||||
widget = wibox.container.background,
|
||||
bg = color["Red200"],
|
||||
bg = cat["Maroon"],
|
||||
shape = function(cr, height, width)
|
||||
gears.shape.rounded_rect(cr, width, height, 4)
|
||||
end,
|
||||
|
@ -82,7 +83,7 @@ local create_titlebar = function(c, bg, size)
|
|||
{
|
||||
awful.titlebar.widget.maximizedbutton(c),
|
||||
widget = wibox.container.background,
|
||||
bg = color["Yellow200"],
|
||||
bg = cat["Yellow"],
|
||||
shape = function(cr, height, width)
|
||||
gears.shape.rounded_rect(cr, width, height, 4)
|
||||
end,
|
||||
|
@ -91,7 +92,7 @@ local create_titlebar = function(c, bg, size)
|
|||
{
|
||||
awful.titlebar.widget.minimizebutton(c),
|
||||
widget = wibox.container.background,
|
||||
bg = color["Green200"],
|
||||
bg = cat["Green"],
|
||||
shape = function(cr, height, width)
|
||||
gears.shape.rounded_rect(cr, width, height, 4)
|
||||
end,
|
||||
|
@ -119,9 +120,9 @@ local create_titlebar = function(c, bg, size)
|
|||
layout = wibox.layout.align.vertical,
|
||||
id = "main"
|
||||
}
|
||||
Hover_signal(titlebar.main.margin.spacing.closebutton, color["Red200"], color["Grey900"])
|
||||
Hover_signal(titlebar.main.margin.spacing.maximizebutton, color["Yellow200"], color["Grey900"])
|
||||
Hover_signal(titlebar.main.margin.spacing.minimizebutton, color["Green200"], color["Grey900"])
|
||||
Hover_signal(titlebar.main.margin.spacing.closebutton, cat["Maroon"], cat["Crust"])
|
||||
Hover_signal(titlebar.main.margin.spacing.maximizebutton, cat["Yellow"], cat["Crust"])
|
||||
Hover_signal(titlebar.main.margin.spacing.minimizebutton, cat["Green"], cat["Crust"])
|
||||
end
|
||||
|
||||
local create_titlebar_dialog = function(c, bg, size)
|
||||
|
@ -137,7 +138,7 @@ local create_titlebar_dialog = function(c, bg, size)
|
|||
{
|
||||
awful.titlebar.widget.closebutton(c),
|
||||
widget = wibox.container.background,
|
||||
bg = color["Red200"],
|
||||
bg = cat["Maroon"],
|
||||
shape = function(cr, height, width)
|
||||
gears.shape.rounded_rect(cr, width, height, 4)
|
||||
end,
|
||||
|
@ -146,7 +147,7 @@ local create_titlebar_dialog = function(c, bg, size)
|
|||
{
|
||||
awful.titlebar.widget.minimizebutton(c),
|
||||
widget = wibox.container.background,
|
||||
bg = color["Green200"],
|
||||
bg = cat["Green"],
|
||||
shape = function(cr, height, width)
|
||||
gears.shape.rounded_rect(cr, width, height, 4)
|
||||
end,
|
||||
|
@ -174,8 +175,8 @@ local create_titlebar_dialog = function(c, bg, size)
|
|||
layout = wibox.layout.align.vertical,
|
||||
id = "main"
|
||||
}
|
||||
Hover_signal(titlebar.main.margin.spacing.closebutton, color["Red200"], color["Grey900"])
|
||||
Hover_signal(titlebar.main.margin.spacing.minimizebutton, color["Green200"], color["Grey900"])
|
||||
Hover_signal(titlebar.main.margin.spacing.closebutton, cat["Maroon"], cat["Crust"])
|
||||
Hover_signal(titlebar.main.margin.spacing.minimizebutton, cat["Green"], cat["Crust"])
|
||||
end
|
||||
|
||||
local draw_titlebar = function(c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue