mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-14 06:48:31 +02:00
theme: use less colors
This commit is contained in:
parent
19f735065b
commit
47115a0fbe
4 changed files with 19 additions and 16 deletions
4
rc.lua
4
rc.lua
|
@ -36,9 +36,6 @@ function loadrc(name, mod)
|
|||
return result
|
||||
end
|
||||
|
||||
-- Error handling
|
||||
loadrc("errors")
|
||||
|
||||
-- Global configuration
|
||||
modkey = "Mod4"
|
||||
config = {}
|
||||
|
@ -69,6 +66,7 @@ config.hostname = awful.util.pread('uname -n'):gsub('\n', '')
|
|||
-- Remaining modules
|
||||
loadrc("xrun") -- xrun function
|
||||
loadrc("appearance") -- theme and appearance settings
|
||||
loadrc("errors") -- errors and debug stuff
|
||||
|
||||
loadrc("start") -- programs to run on start
|
||||
loadrc("bindings") -- keybindings
|
||||
|
|
|
@ -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)
|
||||
|
|
17
rc/theme.lua
17
rc/theme.lua
|
@ -1,9 +1,11 @@
|
|||
-- 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_normal = "#00000000"
|
||||
theme.border_focus = "#FF7F0066"
|
||||
|
@ -13,15 +15,18 @@ if theme then
|
|||
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