vincentbernat.i3wm-configur.../rc/theme.lua

40 lines
1.2 KiB
Lua
Raw Normal View History

-- Small modifications to anrxc's zenburn theme
2012-07-06 14:19:54 +02:00
2012-07-14 19:09:49 +02:00
local na = awful.util.color_strip_alpha
local theme = loadrc("../themes/nice-and-clean-theme/theme")
if theme then
theme.wallpaper_cmd = { "/bin/true" }
2012-07-29 15:43:22 +02:00
theme.font = "Terminus 8"
2012-07-14 19:09:49 +02:00
2012-07-29 17:15:38 +02:00
for n, l in pairs(theme) do
local layout = n:match("layout_([%w]+)")
if layout then
theme[n] = awful.util.getdir("config") .. "/icons/layouts/" .. layout .. ".png"
end
end
2012-07-14 19:09:49 +02:00
theme.border_width = 4
theme.border_normal = "#00000000"
2012-07-14 19:09:49 +02:00
theme.border_focus = "#FF7F0066"
theme.border_marked = theme.border_marked .. "66"
2012-07-06 14:19:54 +02:00
theme.bg_normal = theme.bg_normal .. "99"
theme.bg_focus = theme.bg_focus .. "BB"
theme.bg_urgent = theme.bg_urgent .. "99"
theme.bg_minimize = theme.bg_minimize .. "99"
2012-07-14 19:09:49 +02:00
-- Widget stuff
theme.bg_widget = "#000000BB"
2012-07-14 19:09:49 +02:00
theme.fg_widget_label = "#737d8c"
theme.fg_widget_value = na(theme.fg_normal)
theme.fg_widget_value_important = "#E80F28"
2012-07-14 19:09:49 +02:00
theme.fg_widget_border = theme.fg_widget_label
theme.fg_widget_clock = na(theme.border_focus)
-- Naughty
naughty.config.presets.normal.bg = theme.bg_widget
naughty.config.default_preset.font = "DejaVu Sans 10"
return theme
end