2022-04-10 15:40:28 +00:00
|
|
|
-- Init theme, return it at the end
|
|
|
|
local theme = {}
|
|
|
|
|
|
|
|
-- Theme working directory
|
|
|
|
theme.wd = "~/.config/awesome/themes/gruvbox/"
|
|
|
|
|
|
|
|
-- wallpaper
|
|
|
|
theme.wallpaper = theme.wd .. "background.png"
|
|
|
|
-- awesome icon
|
|
|
|
theme.awesome_icon = theme.wd .. "awesome.png"
|
|
|
|
|
|
|
|
-- fonts
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.base_font = "Fira Code"
|
|
|
|
theme.font = theme.base_font .. " 8"
|
|
|
|
theme.hotkeys_font = theme.base_font .. " 8"
|
2023-05-07 18:43:10 +00:00
|
|
|
theme.taglist_font = "Hack Nerd Font Mono 15"
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.icon_font = theme.base_font .. " 8"
|
2022-04-10 15:40:28 +00:00
|
|
|
theme.hotkeys_description_font = theme.font
|
|
|
|
|
|
|
|
-- colors
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.bg_normal = "#fbf1c7"
|
|
|
|
theme.bg_focus = "#f2e5bc"
|
|
|
|
theme.fg_normal = "#3c3836"
|
|
|
|
theme.fg_urgent = "#cc241d"
|
|
|
|
theme.border_normal = "#928374"
|
|
|
|
theme.border_focus = "#b16286"
|
|
|
|
theme.bg_urgent = theme.bg_normal
|
|
|
|
theme.bg_minimize = theme.bg_focus
|
|
|
|
theme.bg_systray = theme.bg_normal
|
|
|
|
theme.hotkeys_bg = theme.bg_normal
|
|
|
|
theme.fg_focus = theme.fg_normal
|
|
|
|
theme.fg_minimize = theme.fg_normal
|
|
|
|
theme.hotkeys_fg = theme.fg_normal
|
2022-04-10 15:40:28 +00:00
|
|
|
theme.hotkeys_border_color = theme.border_focus
|
|
|
|
theme.hotkeys_border_width = theme.border_width
|
|
|
|
theme.hotkeys_modifiers_fg = theme.fg_urgent
|
|
|
|
|
|
|
|
-- borders and gaps
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.useless_gap = 4
|
|
|
|
theme.border_width = 4
|
2022-04-10 15:40:28 +00:00
|
|
|
|
|
|
|
-- taglist
|
|
|
|
theme.taglist_squares_sel = theme.wd .. "tags/focus.png"
|
|
|
|
theme.taglist_squares_unsel = theme.wd .. "tags/base.png"
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.taglist_font = theme.taglist_font
|
2022-04-10 15:40:28 +00:00
|
|
|
|
|
|
|
-- tasklist
|
|
|
|
theme.tasklist_disable_icon = true
|
|
|
|
|
|
|
|
-- menu
|
|
|
|
theme.menu_submenu_icon = theme.wd .. "submenu.png"
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.menu_height = 22
|
|
|
|
theme.menu_width = 160
|
2022-04-10 15:40:28 +00:00
|
|
|
|
|
|
|
-- layouts icons
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.layout_fairh = theme.wd .. "layouts/fairh.png"
|
|
|
|
theme.layout_fairv = theme.wd .. "layouts/fairv.png"
|
|
|
|
theme.layout_floating = theme.wd .. "layouts/floating.png"
|
|
|
|
theme.layout_magnifier = theme.wd .. "layouts/magnifier.png"
|
|
|
|
theme.layout_max = theme.wd .. "layouts/max.png"
|
2022-04-10 15:40:28 +00:00
|
|
|
theme.layout_fullscreen = theme.wd .. "layouts/fullscreen.png"
|
|
|
|
theme.layout_tilebottom = theme.wd .. "layouts/tilebottom.png"
|
|
|
|
theme.layout_tileleft = theme.wd .. "layouts/tileleft.png"
|
2022-04-23 20:56:17 +00:00
|
|
|
theme.layout_tile = theme.wd .. "layouts/tile.png"
|
|
|
|
theme.layout_tiletop = theme.wd .. "layouts/tiletop.png"
|
|
|
|
theme.layout_spiral = theme.wd .. "layouts/spiral.png"
|
|
|
|
theme.layout_dwindle = theme.wd .. "layouts/dwindle.png"
|
|
|
|
theme.layout_cornernw = theme.wd .. "layouts/cornernw.png"
|
|
|
|
theme.layout_cornerne = theme.wd .. "layouts/cornerne.png"
|
|
|
|
theme.layout_cornersw = theme.wd .. "layouts/cornersw.png"
|
|
|
|
theme.layout_cornerse = theme.wd .. "layouts/cornerse.png"
|
2022-04-10 15:40:28 +00:00
|
|
|
|
|
|
|
-- YAWL required theme settings
|
|
|
|
theme.yawl_font = theme.font
|
|
|
|
theme.yawl_bg = "#458588"
|
|
|
|
theme.yawl_bg_ok = "#98971a"
|
|
|
|
theme.yawl_bg_nok = "#cc241d"
|
|
|
|
theme.yawl_fg = "#FFFFFF"
|
|
|
|
theme.yawl_spotify_absent = theme.bg_normal
|
|
|
|
theme.yawl_spotify_absent_fg = theme.fg_normal
|
|
|
|
theme.yawl_spotify_pause = "#d79921"
|
|
|
|
theme.yawl_spotify_play = "#d3869b"
|
|
|
|
theme.yawl_battery_full = theme.yawl_bg_ok
|
|
|
|
theme.yawl_battery_mid = "#d79921"
|
|
|
|
theme.yawl_battery_low = theme.yawl_bg_nok
|
|
|
|
theme.yawl_pomodoro_absent = theme.bg_normal
|
|
|
|
|
|
|
|
-- Naughty
|
|
|
|
theme.naughty_bg_urgent = theme.fg_urgent
|
|
|
|
|
|
|
|
return theme
|