mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-04 10:14:34 +02:00
theme: use less colors
This commit is contained in:
parent
19f735065b
commit
47115a0fbe
4 changed files with 19 additions and 16 deletions
|
@ -17,10 +17,10 @@ do
|
|||
end
|
||||
|
||||
local colors = {
|
||||
header = "#FF004D",
|
||||
count = "#33FF33",
|
||||
index = "#708090",
|
||||
name = "#8F8870",
|
||||
header = theme.fg_widget_clock,
|
||||
count = theme.fg_widget_label,
|
||||
index = theme.fg_widget_label,
|
||||
name = theme.fg_widget_value_important,
|
||||
}
|
||||
|
||||
local function dbg_get(var, depth, indent)
|
||||
|
|
21
rc/theme.lua
21
rc/theme.lua
|
@ -1,27 +1,32 @@
|
|||
-- Small modifications to anrxc's zenburn theme
|
||||
|
||||
local na = awful.util.color_strip_alpha
|
||||
local theme = loadrc("../themes/nice-and-clean-theme/theme")
|
||||
if theme then
|
||||
theme.wallpaper_cmd = { "/bin/true" }
|
||||
theme.font = "DejaVu Sans 9"
|
||||
theme.border_width = 4
|
||||
|
||||
theme.border_width = 4
|
||||
theme.border_normal = "#00000000"
|
||||
theme.border_focus = "#FF7F0066"
|
||||
theme.border_focus = "#FF7F0066"
|
||||
theme.border_marked = theme.border_marked .. "66"
|
||||
|
||||
theme.bg_normal = theme.bg_normal .. "99"
|
||||
theme.bg_focus = theme.bg_focus .. "99"
|
||||
theme.bg_urgent = theme.bg_urgent .. "99"
|
||||
theme.bg_minimize = theme.bg_minimize .. "99"
|
||||
|
||||
-- Widget stuff
|
||||
theme.bg_widget = "#00000099"
|
||||
theme.fg_widget_label = "#708090"
|
||||
theme.fg_widget_value = "#FFFFFF"
|
||||
theme.fg_widget_value_important = "#FF2222"
|
||||
theme.fg_widget_sep = "#FFFFFF"
|
||||
theme.fg_widget_border = "#FFFFFF"
|
||||
theme.fg_widget_clock = "#FF7F00"
|
||||
theme.fg_widget_label = "#737d8c"
|
||||
theme.fg_widget_value = na(theme.fg_normal)
|
||||
theme.fg_widget_value_important = na(theme.border_marked)
|
||||
theme.fg_widget_sep = na(theme.fg_normal)
|
||||
theme.fg_widget_border = theme.fg_widget_label
|
||||
theme.fg_widget_clock = na(theme.border_focus)
|
||||
theme.fg_widget_end = "#FFFFFF"
|
||||
theme.fg_widget_center = "#FFCCCC"
|
||||
theme.fg_widget_start = "#FF0000"
|
||||
|
||||
return theme
|
||||
end
|
||||
|
|
|
@ -4,7 +4,7 @@ require("vicious")
|
|||
|
||||
-- Separator
|
||||
local separator = widget({ type = "textbox" })
|
||||
separator.text = ' <span color="' .. beautiful.fg_widget_sep .. '">|</span> '
|
||||
separator.text = ' <span color="' .. beautiful.fg_widget_sep .. '" size="small">⋆</span> '
|
||||
|
||||
-- Date
|
||||
local datewidget = widget({ type = "textbox" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue