aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/themes/prismite/vars.lua
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2023-01-29 09:59:52 +0100
committerdelta <darkussdelta@gmail.com>2023-01-29 10:02:22 +0100
commita0f8b5fa6acdd1c2477fb1881dd9067956bf0ae6 (patch)
tree04500ca0a4c97f85b1a2d875d8285effda7b57fe /.config/awesome/themes/prismite/vars.lua
init dots
Diffstat (limited to '.config/awesome/themes/prismite/vars.lua')
-rw-r--r--.config/awesome/themes/prismite/vars.lua51
1 files changed, 51 insertions, 0 deletions
diff --git a/.config/awesome/themes/prismite/vars.lua b/.config/awesome/themes/prismite/vars.lua
new file mode 100644
index 0000000..c5b938d
--- /dev/null
+++ b/.config/awesome/themes/prismite/vars.lua
@@ -0,0 +1,51 @@
+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