summaryrefslogtreecommitdiffstats
path: root/modules/desktop/awesome
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-09-29 20:38:26 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-09-29 20:38:26 -0400
commit1f327873451b9617e305b4b97f83a1824574881d (patch)
treed2b35b4fe800efb2b63ce1e99ea7a3bff0a184ec /modules/desktop/awesome
parentf819e30b03dffcf9e74af4b8552e4a8ab8f54c58 (diff)
downloadnix-config-1f327873451b9617e305b4b97f83a1824574881d.tar.gz
nix-config-1f327873451b9617e305b4b97f83a1824574881d.tar.bz2
nix-config-1f327873451b9617e305b4b97f83a1824574881d.zip
add laptop host
Diffstat (limited to 'modules/desktop/awesome')
-rw-r--r--modules/desktop/awesome/rc.lua41
-rw-r--r--modules/desktop/awesome/theme.lua10
2 files changed, 24 insertions, 27 deletions
diff --git a/modules/desktop/awesome/rc.lua b/modules/desktop/awesome/rc.lua
index 3d2de6d..9c2bdc5 100644
--- a/modules/desktop/awesome/rc.lua
+++ b/modules/desktop/awesome/rc.lua
@@ -672,39 +672,36 @@ client.connect_signal("request::titlebars", function(c)
layout = wibox.layout.flex.horizontal
},
{ -- Right
+ {
{
{
- {
- widget = awful.titlebar.widget.maximizedbutton(c),
- },
- widget = wibox.container.background,
- shape = gears.shape.circle,
- shape_border_width = 1,
- shape_border_color = "#12ac28",
- bg = "#28c940",
+ widget = awful.titlebar.widget.maximizedbutton(c),
},
- width = 16,
- strategy = "min",
- layout = wibox.layout.constraint
+ widget = wibox.container.background,
+ shape = gears.shape.circle,
+ shape_border_width = 1,
+ shape_border_color = "#12ac28",
+ bg = "#28c940",
+ forced_width = dpi(14),
},
{
{
- {
- widget = awful.titlebar.widget.closebutton(c),
- },
- widget = wibox.container.background,
- shape = gears.shape.circle,
- shape_border_width = 1,
- shape_border_color = "#ad3934",
- bg = "#bf4943",
+ widget = awful.titlebar.widget.closebutton(c),
},
- width = 16,
- strategy = "min",
- layout = wibox.layout.constraint
+ widget = wibox.container.background,
+ shape = gears.shape.circle,
+ shape_border_width = 1,
+ shape_border_color = "#ad3934",
+ bg = "#bf4943",
+ forced_width = dpi(14),
},
spacing = dpi(6),
layout = wibox.layout.fixed.horizontal
},
+ widget = wibox.container.margin;
+ left = dpi(6);
+ right = dpi(6);
+ },
layout = wibox.layout.align.horizontal
}
end)
diff --git a/modules/desktop/awesome/theme.lua b/modules/desktop/awesome/theme.lua
index 49fe840..1568b5a 100644
--- a/modules/desktop/awesome/theme.lua
+++ b/modules/desktop/awesome/theme.lua
@@ -13,10 +13,10 @@ local theme = {}
theme.font = "FiraCode Nerd Font 10"
-theme.bg_normal = "#1e1e2e"
+theme.bg_normal = "#1e1e2e88"
theme.bg_minimize = theme.bg_normal
-theme.bg_focus = "#2e2e3e"
-theme.bg_urgent = "#4e4e5e"
+theme.bg_focus = "#2e2e3e88"
+theme.bg_urgent = "#4e4e5e88"
theme.bg_systray = theme.bg_normal
theme.fg_minimize = "#45475A"
@@ -30,10 +30,10 @@ theme.tag_list_focused = "#cdd6f4"
theme.tag_list_urgent = "#f38ba8"
theme.useless_gap = dpi(4)
-theme.border_width = dpi(4)
+theme.border_width = 0
theme.border_normal = theme.bg_normal
theme.border_focus = theme.bg_focus
-theme.border_marked = theme.fg_focus
+theme.border_marked = theme.fg_focus .. "88"
-- There are other variable sets
-- overriding the default one when