From f7a14a2eaca5cf0737f36a8d68410220d37afde3 Mon Sep 17 00:00:00 2001 From: Elena Date: Mon, 4 Mar 2019 01:43:12 +0200 Subject: [PATCH] fixed older themes throwing errors because of xresources variables being local instead of global --- config/awesome/themes/lovelace/theme.lua | 182 +++++++++++------------ config/awesome/themes/manta/theme.lua | 134 ++++++++--------- 2 files changed, 158 insertions(+), 158 deletions(-) diff --git a/config/awesome/themes/lovelace/theme.lua b/config/awesome/themes/lovelace/theme.lua index 459eac0..cb74e10 100644 --- a/config/awesome/themes/lovelace/theme.lua +++ b/config/awesome/themes/lovelace/theme.lua @@ -40,45 +40,45 @@ theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/" .. theme_name theme.font = "monospace 11" -- Get colors from .Xresources and set fallback colors -local xbackground = xrdb.background or "#1D1F28" -local xforeground = xrdb.foreground or "#FDFDFD" -local xcolor0 = xrdb.color0 or "#282A36" -local xcolor1 = xrdb.color1 or "#F37F97" -local xcolor2 = xrdb.color2 or "#5ADECD" -local xcolor3 = xrdb.color3 or "#F2A272" -local xcolor4 = xrdb.color4 or "#8897F4" -local xcolor5 = xrdb.color5 or "#C574DD" -local xcolor6 = xrdb.color6 or "#79E6F3" -local xcolor7 = xrdb.color7 or "#FDFDFD" -local xcolor8 = xrdb.color8 or "#414458" -local xcolor9 = xrdb.color9 or "#FF4971" -local xcolor10 = xrdb.color10 or "#18E3C8" -local xcolor11 = xrdb.color11 or "#FF8037" -local xcolor12 = xrdb.color12 or "#556FFF" -local xcolor13 = xrdb.color13 or "#B043D1" -local xcolor14 = xrdb.color14 or "#3FDCEE" -local xcolor15 = xrdb.color15 or "#BEBEC1" +theme.xbackground = xrdb.background or "#1D1F28" +theme.xforeground = xrdb.foreground or "#FDFDFD" +theme.xcolor0 = xrdb.color0 or "#282A36" +theme.xcolor1 = xrdb.color1 or "#F37F97" +theme.xcolor2 = xrdb.color2 or "#5ADECD" +theme.xcolor3 = xrdb.color3 or "#F2A272" +theme.xcolor4 = xrdb.color4 or "#8897F4" +theme.xcolor5 = xrdb.color5 or "#C574DD" +theme.xcolor6 = xrdb.color6 or "#79E6F3" +theme.xcolor7 = xrdb.color7 or "#FDFDFD" +theme.xcolor8 = xrdb.color8 or "#414458" +theme.xcolor9 = xrdb.color9 or "#FF4971" +theme.xcolor10 = xrdb.color10 or "#18E3C8" +theme.xcolor11 = xrdb.color11 or "#FF8037" +theme.xcolor12 = xrdb.color12 or "#556FFF" +theme.xcolor13 = xrdb.color13 or "#B043D1" +theme.xcolor14 = xrdb.color14 or "#3FDCEE" +theme.xcolor15 = xrdb.color15 or "#BEBEC1" -- Set some colors that are used frequently as local variables -local accent_color = xcolor14 -local focused_color = xcolor14 -local unfocused_color = xcolor7 -local urgent_color = xcolor9 +local accent_color = theme.xcolor14 +local focused_color = theme.xcolor14 +local unfocused_color = theme.xcolor7 +local urgent_color = theme.xcolor9 -- This is how to get other .Xresources values (beyond colors 0-15, or custom variables) -- local cool_color = awesome.xrdb_get_value("", "color16") -theme.bg_dark = xbackground -theme.bg_normal = xbackground -theme.bg_focus = xbackground -theme.bg_urgent = xbackground -theme.bg_minimize = xcolor8 -theme.bg_systray = xbackground +theme.bg_dark = theme.xbackground +theme.bg_normal = theme.xbackground +theme.bg_focus = theme.xbackground +theme.bg_urgent = theme.xbackground +theme.bg_minimize = theme.xcolor8 +theme.bg_systray = theme.xbackground -theme.fg_normal = xcolor7 +theme.fg_normal = theme.xcolor7 theme.fg_focus = focused_color theme.fg_urgent = urgent_color -theme.fg_minimize = xcolor8 +theme.fg_minimize = theme.xcolor8 -- Gaps theme.useless_gap = dpi(3) @@ -88,9 +88,9 @@ theme.screen_margin = dpi(3) -- Borders theme.border_width = dpi(0) -theme.border_color = xcolor0 -theme.border_normal = xcolor0 -theme.border_focus = xcolor0 +theme.border_color = theme.xcolor0 +theme.border_normal = theme.xcolor0 +theme.border_focus = theme.xcolor0 -- Rounded corners theme.border_radius = dpi(6) @@ -106,12 +106,12 @@ theme.titlebar_title_align = "center" theme.titlebar_position = "top" -- Use 4 titlebars around the window to imitate borders theme.titlebars_imitate_borders = false -theme.titlebar_bg = xcolor0 --- theme.titlebar_bg_focus = xcolor5 --- theme.titlebar_bg_normal = xcolor13 -theme.titlebar_fg_focus = xcolor7 -theme.titlebar_fg_normal = xcolor15 ---theme.titlebar_fg = xcolor7 +theme.titlebar_bg = theme.xcolor0 +-- theme.titlebar_bg_focus = theme.xcolor5 +-- theme.titlebar_bg_normal = theme.xcolor13 +theme.titlebar_fg_focus = theme.xcolor7 +theme.titlebar_fg_normal = theme.xcolor15 +--theme.titlebar_fg = theme.xcolor7 -- Notifications -- Position: bottom_left, bottom_right, bottom_middle, @@ -119,11 +119,11 @@ theme.titlebar_fg_normal = xcolor15 theme.notification_position = "top_right" -- BUG: some notifications appear at top_right regardless theme.notification_border_width = dpi(0) theme.notification_border_radius = theme.border_radius -theme.notification_border_color = xcolor10 -theme.notification_bg = xbackground -theme.notification_fg = xcolor7 +theme.notification_border_color = theme.xcolor10 +theme.notification_bg = theme.xbackground +theme.notification_fg = theme.xcolor7 theme.notification_crit_bg = urgent_color -theme.notification_crit_fg = xcolor0 +theme.notification_crit_fg = theme.xcolor0 theme.notification_icon_size = dpi(100) -- theme.notification_height = dpi(80) -- theme.notification_width = dpi(300) @@ -162,17 +162,17 @@ theme.separator_text = "|" --theme.separator_text = " :: " --theme.separator_text = " • " -- theme.separator_text = " •• " -theme.separator_fg = xcolor8 +theme.separator_fg = theme.xcolor8 -- Wibar(s) -- (Bar items can be customized in bars.lua) theme.wibar_position = "bottom" theme.wibar_detached = false theme.wibar_height = dpi(45) -theme.wibar_fg = xcolor7 -theme.wibar_bg = xcolor0 .. "00" +theme.wibar_fg = theme.xcolor7 +theme.wibar_bg = theme.xcolor0 .. "00" --theme.wibar_opacity = 0.7 -theme.wibar_border_color = xcolor0 +theme.wibar_border_color = theme.xcolor0 theme.wibar_border_width = dpi(0) theme.wibar_border_radius = dpi(0) theme.wibar_border_radius = theme.border_radius @@ -184,7 +184,7 @@ theme.wibar_width = dpi(565) --theme.wibar_y = theme.screen_margin * 2 -- Widgets -theme.prefix_fg = xcolor8 +theme.prefix_fg = theme.xcolor8 --There are other variable sets --overriding the default one when @@ -202,22 +202,22 @@ theme.prefix_fg = xcolor8 --Tasklist theme.tasklist_disable_icon = true theme.tasklist_plain_task_name = true -theme.tasklist_bg_focus = xcolor0 .. "00" +theme.tasklist_bg_focus = theme.xcolor0 .. "00" theme.tasklist_fg_focus = focused_color -theme.tasklist_bg_normal = xcolor0 .. "00" +theme.tasklist_bg_normal = theme.xcolor0 .. "00" theme.tasklist_fg_normal = unfocused_color -theme.tasklist_bg_minimize = xcolor0 .. "00" +theme.tasklist_bg_minimize = theme.xcolor0 .. "00" theme.tasklist_fg_minimize = theme.fg_minimize -theme.tasklist_bg_urgent = xcolor0 .. "00" +theme.tasklist_bg_urgent = theme.xcolor0 .. "00" theme.tasklist_fg_urgent = urgent_color theme.tasklist_spacing = dpi(5) theme.tasklist_align = "center" -- Sidebar -- (Sidebar items can be customized in sidebar.lua) -theme.sidebar_bg = xbackground -theme.sidebar_bg_alt = xcolor0 -theme.sidebar_fg = xcolor7 +theme.sidebar_bg = theme.xbackground +theme.sidebar_bg_alt = theme.xcolor0 +theme.sidebar_fg = theme.xcolor7 theme.sidebar_opacity = 1 theme.sidebar_position = "left" -- left or right theme.sidebar_width = dpi(300) @@ -228,8 +228,8 @@ theme.sidebar_hide_on_mouse_leave = true theme.sidebar_show_on_mouse_edge = true -- Exit screen -theme.exit_screen_bg = xcolor0 .. "CC" -theme.exit_screen_fg = xcolor7 +theme.exit_screen_bg = theme.xcolor0 .. "CC" +theme.exit_screen_fg = theme.xcolor7 theme.exit_screen_font = "sans 20" theme.exit_screen_icon_size = dpi(180) @@ -310,13 +310,13 @@ theme.prompt_fg = accent_color -- Text Taglist theme.taglist_font = "Iosevka Nerd Font 12" -- theme.taglist_font = theme.font -theme.taglist_bg_focus = xcolor0 .. "00" -theme.taglist_fg_focus = xcolor14 -theme.taglist_bg_occupied = xcolor0 .. "00" -theme.taglist_fg_occupied = xcolor4 -theme.taglist_bg_empty = xcolor0 .. "00" -theme.taglist_fg_empty = xcolor8 -theme.taglist_bg_urgent = xcolor0 .. "00" +theme.taglist_bg_focus = theme.xcolor0 .. "00" +theme.taglist_fg_focus = theme.xcolor14 +theme.taglist_bg_occupied = theme.xcolor0 .. "00" +theme.taglist_fg_occupied = theme.xcolor4 +theme.taglist_bg_empty = theme.xcolor0 .. "00" +theme.taglist_fg_empty = theme.xcolor8 +theme.taglist_bg_urgent = theme.xcolor0 .. "00" theme.taglist_fg_urgent = urgent_color theme.taglist_disable_icon = true theme.taglist_spacing = dpi(0) @@ -335,12 +335,12 @@ theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( theme.menu_submenu_icon = icon_path.."submenu.png" theme.menu_height = dpi(35) theme.menu_width = dpi(180) -theme.menu_bg_normal = xcolor0 -theme.menu_fg_normal= xcolor7 -theme.menu_bg_focus = xcolor8 .. "55" -theme.menu_fg_focus= xcolor7 +theme.menu_bg_normal = theme.xcolor0 +theme.menu_fg_normal= theme.xcolor7 +theme.menu_bg_focus = theme.xcolor8 .. "55" +theme.menu_fg_focus= theme.xcolor7 theme.menu_border_width = dpi(0) -theme.menu_border_color = xcolor0 +theme.menu_border_color = theme.xcolor0 -- You can add as many variables as -- you wish and access them by using @@ -410,14 +410,14 @@ theme.layout_cornersw = layout_icon_path .. "cornersw.png" theme.layout_cornerse = layout_icon_path .. "cornerse.png" -- Recolor layout icons ---theme = theme_assets.recolor_layout(theme, xcolor1) +--theme = theme_assets.recolor_layout(theme, theme.xcolor1) -- Noodle widgets customization -- -- Desktop mode widget variables -- Symbols    --- theme.desktop_mode_color_floating = xcolor4 --- theme.desktop_mode_color_tile = xcolor3 --- theme.desktop_mode_color_max = xcolor1 +-- theme.desktop_mode_color_floating = theme.xcolor4 +-- theme.desktop_mode_color_tile = theme.xcolor3 +-- theme.desktop_mode_color_max = theme.xcolor1 -- theme.desktop_mode_text_floating = "f" -- theme.desktop_mode_text_tile = "t" -- theme.desktop_mode_text_max = "m" @@ -425,39 +425,39 @@ theme.layout_cornerse = layout_icon_path .. "cornerse.png" -- Minimal tasklist widget variables theme.minimal_tasklist_visible_clients_color = focused_color theme.minimal_tasklist_visible_clients_text = "+ " -theme.minimal_tasklist_hidden_clients_color = xcolor8 +theme.minimal_tasklist_hidden_clients_color = theme.xcolor8 theme.minimal_tasklist_hidden_clients_text = " - " -- Mpd song -theme.mpd_song_title_color = xcolor7 -theme.mpd_song_artist_color = xcolor7 -theme.mpd_song_paused_color = xcolor8 +theme.mpd_song_title_color = theme.xcolor7 +theme.mpd_song_artist_color = theme.xcolor7 +theme.mpd_song_paused_color = theme.xcolor8 -- Volume bar -theme.volume_bar_active_color = xcolor6 -theme.volume_bar_active_background_color = xcolor6 .. "33" -theme.volume_bar_muted_color = xcolor8 -theme.volume_bar_muted_background_color = xcolor8 .. "33" +theme.volume_bar_active_color = theme.xcolor6 +theme.volume_bar_active_background_color = theme.xcolor6 .. "33" +theme.volume_bar_muted_color = theme.xcolor8 +theme.volume_bar_muted_background_color = theme.xcolor8 .. "33" -- Temperature bar -theme.temperature_bar_active_color = xcolor1 -theme.temperature_bar_background_color = xcolor1 .. "33" +theme.temperature_bar_active_color = theme.xcolor1 +theme.temperature_bar_background_color = theme.xcolor1 .. "33" -- Battery bar -theme.battery_bar_active_color = xcolor5 -theme.battery_bar_background_color = xcolor5 .. "33" +theme.battery_bar_active_color = theme.xcolor5 +theme.battery_bar_background_color = theme.xcolor5 .. "33" -- CPU bar -theme.cpu_bar_active_color = xcolor2 -theme.cpu_bar_background_color = xcolor2 .. "33" +theme.cpu_bar_active_color = theme.xcolor2 +theme.cpu_bar_background_color = theme.xcolor2 .. "33" -- RAM bar -theme.ram_bar_active_color = xcolor12 -theme.ram_bar_background_color = xcolor12 .. "33" +theme.ram_bar_active_color = theme.xcolor12 +theme.ram_bar_background_color = theme.xcolor12 .. "33" -- Brightness bar -theme.brightness_bar_active_color = xcolor11 -theme.brightness_bar_background_color = xcolor11 .. "33" +theme.brightness_bar_active_color = theme.xcolor11 +theme.brightness_bar_background_color = theme.xcolor11 .. "33" -- Generate Awesome icon: theme.awesome_icon = theme_assets.awesome_icon( diff --git a/config/awesome/themes/manta/theme.lua b/config/awesome/themes/manta/theme.lua index 3d10152..6657e98 100644 --- a/config/awesome/themes/manta/theme.lua +++ b/config/awesome/themes/manta/theme.lua @@ -30,43 +30,43 @@ theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/" .. theme_name theme.font = "monospace 12" --theme.font = "sans-serif 12" -local xbackground = xrdb.background or "#1E2541" -local xforeground = xrdb.foreground or "#EEFFFF" -local xcolor0 = xrdb.color0 or "#1E2541" -local xcolor1 = xrdb.color1 or "#F0719B" -local xcolor2 = xrdb.color2 or "#5AF7B0" -local xcolor3 = xrdb.color3 or "#FFA56B" -local xcolor4 = xrdb.color4 or "#57C7FF" -local xcolor5 = xrdb.color5 or "#C792EA" -local xcolor6 = xrdb.color6 or "#89DDFF" -local xcolor7 = xrdb.color7 or "#EEFFFF" -local xcolor8 = xrdb.color8 or "#354274" -local xcolor9 = xrdb.color9 or "#F02E6E" -local xcolor10 = xrdb.color10 or "#2CE592" -local xcolor11 = xrdb.color11 or "#FF8537" -local xcolor12 = xrdb.color12 or "#1DA0E2" -local xcolor13 = xrdb.color13 or "#A742EA" -local xcolor14 = xrdb.color14 or "#47BAE8" -local xcolor15 = xrdb.color15 or "#DEE6E7" -local xcolor16 = awesome.xrdb_get_value("", "color16") or "#2A335A" +theme.xbackground = xrdb.background or "#1E2541" +theme.xforeground = xrdb.foreground or "#EEFFFF" +theme.xcolor0 = xrdb.color0 or "#1E2541" +theme.xcolor1 = xrdb.color1 or "#F0719B" +theme.xcolor2 = xrdb.color2 or "#5AF7B0" +theme.xcolor3 = xrdb.color3 or "#FFA56B" +theme.xcolor4 = xrdb.color4 or "#57C7FF" +theme.xcolor5 = xrdb.color5 or "#C792EA" +theme.xcolor6 = xrdb.color6 or "#89DDFF" +theme.xcolor7 = xrdb.color7 or "#EEFFFF" +theme.xcolor8 = xrdb.color8 or "#354274" +theme.xcolor9 = xrdb.color9 or "#F02E6E" +theme.xcolor10 = xrdb.color10 or "#2CE592" +theme.xcolor11 = xrdb.color11 or "#FF8537" +theme.xcolor12 = xrdb.color12 or "#1DA0E2" +theme.xcolor13 = xrdb.color13 or "#A742EA" +theme.xcolor14 = xrdb.color14 or "#47BAE8" +theme.xcolor15 = xrdb.color15 or "#DEE6E7" +theme.xcolor16 = awesome.xrdb_get_value("", "color16") or "#2A335A" -local accent_color = xcolor14 -local focused_color = xcolor14 -local unfocused_color = xcolor7 -local urgent_color = xcolor11 -local backdrop_color = xcolor16 +local accent_color = theme.xcolor14 +local focused_color = theme.xcolor14 +local unfocused_color = theme.xcolor7 +local urgent_color = theme.xcolor11 +local backdrop_color = theme.xcolor16 -theme.bg_dark = xbackground -theme.bg_normal = xbackground -theme.bg_focus = xbackground -theme.bg_urgent = xbackground -theme.bg_minimize = xcolor8 +theme.bg_dark = theme.xbackground +theme.bg_normal = theme.xbackground +theme.bg_focus = theme.xbackground +theme.bg_urgent = theme.xbackground +theme.bg_minimize = theme.xcolor8 theme.bg_systray = bg_dark -theme.fg_normal = xcolor7 +theme.fg_normal = theme.xcolor7 theme.fg_focus = focused_color theme.fg_urgent = urgent_color -theme.fg_minimize = xcolor8 +theme.fg_minimize = theme.xcolor8 -- Gaps theme.useless_gap = dpi(5) @@ -76,8 +76,8 @@ theme.screen_margin = dpi(5) -- Borders theme.border_width = dpi(0) -theme.border_normal = xcolor0 -theme.border_focus = xcolor0 +theme.border_normal = theme.xcolor0 +theme.border_focus = theme.xcolor0 -- Rounded corners theme.border_radius = dpi(6) @@ -92,12 +92,12 @@ theme.titlebar_title_align = "center" theme.titlebar_position = "top" -- Use 4 titlebars around the window to imitate borders theme.titlebars_imitate_borders = false -theme.titlebar_bg = xcolor7 --- theme.titlebar_bg_focus = xcolor5 --- theme.titlebar_bg_normal = xcolor13 -theme.titlebar_fg_focus = xcolor7 -theme.titlebar_fg_normal = xcolor15 ---theme.titlebar_fg = xcolor7 +theme.titlebar_bg = theme.xcolor7 +-- theme.titlebar_bg_focus = theme.xcolor5 +-- theme.titlebar_bg_normal = theme.xcolor13 +theme.titlebar_fg_focus = theme.xcolor7 +theme.titlebar_fg_normal = theme.xcolor15 +--theme.titlebar_fg = theme.xcolor7 -- Variables set for theming notifications: -- notification_font @@ -110,11 +110,11 @@ theme.titlebar_fg_normal = xcolor15 theme.notification_position = "top_right" theme.notification_border_width = 0 theme.notification_border_radius = theme.border_radius -theme.notification_border_color = xcolor10 -theme.notification_bg = xcolor7 -theme.notification_fg = xcolor0 +theme.notification_border_color = theme.xcolor10 +theme.notification_bg = theme.xcolor7 +theme.notification_fg = theme.xcolor0 theme.notification_crit_bg = urgent_color -theme.notification_crit_fg = xcolor0 +theme.notification_crit_fg = theme.xcolor0 theme.notification_margin = dpi(15) theme.notification_icon_size = dpi(50) --theme.notification_height = dpi(80) @@ -154,17 +154,17 @@ theme.tagnames = { symb, symb, symb, symb, symb, symb, symb, symb, symb, symb } --theme.separator_text = " •• " --theme.separator_text = "  " theme.separator_text = "  " -theme.separator_fg = xcolor8 +theme.separator_fg = theme.xcolor8 -- Wibar -- (The panel items can be customized in rc.lua) theme.wibar_position = "bottom" theme.wibar_detached = true theme.wibar_height = dpi(40) -theme.wibar_fg = xcolor0 -theme.wibar_bg = xcolor7 +theme.wibar_fg = theme.xcolor0 +theme.wibar_bg = theme.xcolor7 --theme.wibar_opacity = 0.7 -theme.wibar_border_color = xcolor0 +theme.wibar_border_color = theme.xcolor0 theme.wibar_border_width = 0 theme.wibar_border_radius = theme.border_radius --theme.wibar_width = screen_width - theme.screen_margin * 4 -theme.wibar_border_width * 2 @@ -180,10 +180,10 @@ theme.wibar_alt_enabled = false theme.wibar_alt_position = "left" --fake position so it does not increase screen margin theme.wibar_alt_detached = false theme.wibar_alt_height = dpi(40) -theme.wibar_alt_fg = xcolor7 -theme.wibar_alt_bg = xcolor0 +theme.wibar_alt_fg = theme.xcolor7 +theme.wibar_alt_bg = theme.xcolor0 --theme.wibar_alt_opacity = 0.7 -theme.wibar_alt_border_color = xcolor0 +theme.wibar_alt_border_color = theme.xcolor0 theme.wibar_alt_border_width = 0 theme.wibar_alt_border_radius = theme.border_radius theme.wibar_alt_width = 420 @@ -193,7 +193,7 @@ theme.wibar_alt_y = theme.screen_margin * 2 --theme.wibar_alt_y = screen_height - theme.screen_margin * 2 - theme.wibar_alt_height - theme.wibar_alt_border_width * 2 -- Widgets -theme.prefix_fg = xcolor8 +theme.prefix_fg = theme.xcolor8 --There are other variable sets --overriding the default one when @@ -211,13 +211,13 @@ theme.prefix_fg = xcolor8 --Tasklist theme.tasklist_disable_icon = true theme.tasklist_plain_task_name = true -theme.tasklist_bg_focus = xcolor0 .. "00" +theme.tasklist_bg_focus = theme.xcolor0 .. "00" theme.tasklist_fg_focus = focused_color -theme.tasklist_bg_normal = xcolor0 .. "00" +theme.tasklist_bg_normal = theme.xcolor0 .. "00" theme.tasklist_fg_normal = unfocused_color -theme.tasklist_bg_minimize = xcolor0 .. "00" +theme.tasklist_bg_minimize = theme.xcolor0 .. "00" theme.tasklist_fg_minimize = theme.fg_minimize -theme.tasklist_bg_urgent = xcolor0 .. "00" +theme.tasklist_bg_urgent = theme.xcolor0 .. "00" theme.tasklist_fg_urgent = urgent_color theme.tasklist_spacing = 5 theme.tasklist_align = "center" @@ -227,13 +227,13 @@ theme.prompt_fg = accent_color -- Taglist theme.taglist_font = theme.font -theme.taglist_bg_focus = xcolor0 .. "00" -theme.taglist_fg_focus = xcolor9 -theme.taglist_bg_occupied = xcolor0 .. "00" -theme.taglist_fg_occupied = xcolor1 -theme.taglist_bg_empty = xcolor0 .. "00" -theme.taglist_fg_empty = xcolor15 -theme.taglist_bg_urgent = xcolor0 .. "00" +theme.taglist_bg_focus = theme.xcolor0 .. "00" +theme.taglist_fg_focus = theme.xcolor9 +theme.taglist_bg_occupied = theme.xcolor0 .. "00" +theme.taglist_fg_occupied = theme.xcolor1 +theme.taglist_bg_empty = theme.xcolor0 .. "00" +theme.taglist_fg_empty = theme.xcolor15 +theme.taglist_bg_urgent = theme.xcolor0 .. "00" theme.taglist_fg_urgent = urgent_color theme.taglist_disable_icon = true theme.taglist_spacing = dpi(0) @@ -322,20 +322,20 @@ theme.layout_cornersw = icon_path .. "cornersw.png" theme.layout_cornerse = icon_path .. "cornerse.png" -- Recolor layout icons ---theme = theme_assets.recolor_layout(theme, xcolor1) +--theme = theme_assets.recolor_layout(theme, theme.xcolor1) -- Desktop mode widget variables -- Symbols    -theme.desktop_mode_color_floating = xcolor4 -theme.desktop_mode_color_tile = xcolor4 -theme.desktop_mode_color_max = xcolor3 +theme.desktop_mode_color_floating = theme.xcolor4 +theme.desktop_mode_color_tile = theme.xcolor4 +theme.desktop_mode_color_max = theme.xcolor3 theme.desktop_mode_text_floating = "" theme.desktop_mode_text_tile = "" theme.desktop_mode_text_max = "" -- Minimal tasklist widget variables theme.minimal_tasklist_visible_clients_color = focused_color theme.minimal_tasklist_visible_clients_text = "  " -theme.minimal_tasklist_hidden_clients_color = xcolor8 +theme.minimal_tasklist_hidden_clients_color = theme.xcolor8 theme.minimal_tasklist_hidden_clients_text = "  "