dots/.config/awesome/themes/prismite/vars.lua
2023-01-29 10:02:22 +01:00

52 lines
1.1 KiB
Lua

local gears = require "gears"
local gfs = require("gears.filesystem")
local xresources = require "beautiful.xresources"
local x_col = xresources.get_current_theme()
local dpi = xresources.apply_dpi
local shape = function(cr,w,h)
gears.shape.rounded_rect(cr,w,h,8)
end
local border_width = dpi(1.5)
local font = "FiraCode Nerd Font Mono SemiBold 8"
local theme_path = gfs.get_configuration_dir() .. "themes/prismite/"
local colors = {
fg = x_col.foreground,
bg = x_col.background,
black = x_col.color0,
red = x_col.color1,
green = x_col.color2,
yellow = x_col.color3,
blue = x_col.color4,
magenta = x_col.color5,
cyan = x_col.color6,
white = x_col.color7,
bright = {
black = x_col.color8,
red = x_col.color9,
green = x_col.color10,
yellow = x_col.color11,
blue = x_col.color12,
magenta = x_col.color13,
cyan = x_col.color14,
white = x_col.color15,
}
}
local vars = {
["shape"] = shape,
["colors"] = colors,
["border_width"] = border_width,
["font"] = font,
["theme_path"] = theme_path
}
return vars