From a0f8b5fa6acdd1c2477fb1881dd9067956bf0ae6 Mon Sep 17 00:00:00 2001 From: delta Date: Sun, 29 Jan 2023 09:59:52 +0100 Subject: init dots --- .config/awesome/themes/prismite/vars.lua | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .config/awesome/themes/prismite/vars.lua (limited to '.config/awesome/themes/prismite/vars.lua') 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 -- cgit v1.2.3