86 lines
4.2 KiB
Lua
86 lines
4.2 KiB
Lua
-- NOTE: https://awesomewm.org/apidoc/documentation/06-appearance.md.html
|
|
local helpers = require("helpers")
|
|
local user = require("config.user")
|
|
local color = require("theme.colorsheme")
|
|
local layout_path = user.config.home .. "/.config/awesome/theme/assets/icons/layouts/"
|
|
local titlebar_path = user.config.home .. "/.config/awesome/theme/assets/icons/titlebar/"
|
|
|
|
local theme = {}
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- Default variables
|
|
-------------------------------------------------------------------------------
|
|
theme.useless_gap = 5
|
|
theme.font = user.config.font
|
|
|
|
theme.bg_normal = color.background
|
|
theme.bg_focus = color.background
|
|
theme.bg_urgent = color.background
|
|
theme.bg_minimize = color.background
|
|
|
|
theme.fg_normal = color.foreground
|
|
theme.fg_focus = color.foreground
|
|
theme.fg_urgent = color.red
|
|
theme.fg_minimize = color.foreground
|
|
|
|
theme.border_width = 3
|
|
theme.border_color_active = color.blue
|
|
theme.border_color_normal = color.background
|
|
|
|
theme.bg_systray = color.background
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- hotkeys
|
|
-------------------------------------------------------------------------------
|
|
theme.hotkeys_border_color = color.blue
|
|
theme.hotkeys_modifiers_fg = color.foreground
|
|
theme.hotkeys_font = user.config.font
|
|
theme.hotkeys_description_font = user.config.font
|
|
theme.hotkeys_group_margin = 10
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- tasklist
|
|
-------------------------------------------------------------------------------
|
|
theme.tasklist_disable_icon = true
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- layout
|
|
-------------------------------------------------------------------------------
|
|
theme.layout_fairh = layout_path .. "fairhw.png"
|
|
theme.layout_fairv = layout_path .. "fairvw.png"
|
|
theme.layout_floating = layout_path .. "floatingw.png"
|
|
theme.layout_magnifier = layout_path .. "magnifierw.png"
|
|
theme.layout_max = layout_path .. "maxw.png"
|
|
theme.layout_fullscreen = layout_path .. "fullscreenw.png"
|
|
theme.layout_tilebottom = layout_path .. "tilebottomw.png"
|
|
theme.layout_tileleft = layout_path .. "tileleftw.png"
|
|
theme.layout_tile = layout_path .. "tilew.png"
|
|
theme.layout_tiletop = layout_path .. "tiletopw.png"
|
|
theme.layout_spiral = layout_path .. "spiralw.png"
|
|
theme.layout_dwindle = layout_path .. "dwindlew.png"
|
|
theme.layout_cornernw = layout_path .. "cornernww.png"
|
|
theme.layout_cornerne = layout_path .. "cornernew.png"
|
|
theme.layout_cornersw = layout_path .. "cornersww.png"
|
|
theme.layout_cornerse = layout_path .. "cornersew.png"
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- titlebar
|
|
-------------------------------------------------------------------------------
|
|
theme.titlebar_bg = color.background
|
|
theme.titlebar_bg_focus = color.background
|
|
theme.titlebar_close_button_normal = helpers.recolor_image(titlebar_path .. "button.png", "#7f849c")
|
|
theme.titlebar_close_button_focus = helpers.recolor_image(titlebar_path .. "button.png", color.red)
|
|
theme.titlebar_close_button_focus_hover = titlebar_path .. "button_close.png"
|
|
|
|
-------------------------------------------------------------------------------
|
|
-- systray
|
|
-------------------------------------------------------------------------------
|
|
theme.bg_systray = color.base
|
|
theme.systray_max_rows = nil
|
|
theme.systray_icon_spacing = 10
|
|
|
|
local themes_path = "/home/etc/nixos/modules/wallpapers/"
|
|
theme.wallpaper = themes_path.."ghibli-3.png"
|
|
|
|
return theme
|