Files
dotfiles/awesome/.config/awesome/theme-def.lua
T
2024-09-21 02:00:38 -07:00

57 lines
1.4 KiB
Lua

---------------------------
-- Default awesome theme --
---------------------------
local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local gfs = require("gears.filesystem")
local themes_path = gfs.get_themes_dir()
local theme = {}
theme.font = "Product Sans 11"
theme.bg_normal = "#181825"
theme.bg_focus = "#1e1e2e"
theme.bg_urgent = "#eba0ac"
theme.bg_minimize = "#313244"
theme.bg_systray = theme.bg_normal
theme.fg_normal = "#cdd6f4"
theme.fg_focus = "#737994"
theme.fg_urgent = "#ea999c"
theme.fg_minimize = "#99d1db"
theme.useless_gap = dpi(5)
theme.border_normal = "#1e1e2e"
theme.border_focus = "#1e1e2e"
theme.border_marked = "#1e1e2e"
theme.border_radius = dpi(8)
theme.border_width = dpi(0)
theme.menu_height = 30
theme.menu_width = 120
-- Generate taglist squares:
local taglist_square_size = dpi(4)
theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
taglist_square_size, theme.fg_normal
)
theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
taglist_square_size, theme.fg_normal
)
--Signals
client.connect_signal("focus", function(c)
c.border_color = theme.border_focus end)
client.connect_signal("unfocus", function(c)
c.border_color = theme.border_normal end)
theme.icon_theme = nil
return theme
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80