diff options
| author | delta <darkussdelta@gmail.com> | 2023-01-29 09:59:52 +0100 |
|---|---|---|
| committer | delta <darkussdelta@gmail.com> | 2023-01-29 10:02:22 +0100 |
| commit | a0f8b5fa6acdd1c2477fb1881dd9067956bf0ae6 (patch) | |
| tree | 04500ca0a4c97f85b1a2d875d8285effda7b57fe /.config/awesome/themes/prismite/prismite.lua | |
init dots
Diffstat (limited to '.config/awesome/themes/prismite/prismite.lua')
| -rw-r--r-- | .config/awesome/themes/prismite/prismite.lua | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/.config/awesome/themes/prismite/prismite.lua b/.config/awesome/themes/prismite/prismite.lua new file mode 100644 index 0000000..d0009c3 --- /dev/null +++ b/.config/awesome/themes/prismite/prismite.lua @@ -0,0 +1,73 @@ +local theme_assets = require("beautiful.theme_assets") +local xresources = require "beautiful.xresources" +local dpi = xresources.apply_dpi + +local g = require("gears") +local naughty = require("naughty") + +local vars = require "themes.prismite.vars" + +local theme = {} + +theme.font = vars.font + +theme.bg_normal = vars.colors.bg +theme.bg_focus = vars.colors.bg +theme.bg_urgent = vars.colors.bg +theme.bg_minimize = vars.colors.bg +theme.bg_systray = vars.colors.bg + +theme.fg_normal = vars.colors.fg +theme.fg_focus = vars.colors.fg +theme.fg_urgent = vars.colors.fg +theme.fg_minimize = vars.colors.fg + +theme.useless_gap = dpi(2) +theme.border_width = vars.border_width +theme.border_normal = vars.colors.bright.black +theme.border_focus = vars.colors.bright.black +theme.border_marked = vars.colors.bright.black + +theme.titlebar_close_button_normal = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.red, "transparent", 4) +theme.titlebar_close_button_focus = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.red, "transparent", 4) +theme.titlebar_close_button_normal_hover = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.red, "transparent", 4) +theme.titlebar_close_button_focus_hover = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.red, "transparent", 4) + +theme.titlebar_minimize_button_normal = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.yellow, "transparent", 4) +theme.titlebar_minimize_button_focus = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.yellow, "transparent", 4) +theme.titlebar_minimize_button_normal_hover = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.yellow, "transparent", 4) +theme.titlebar_minimize_button_focus_hover = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.yellow, "transparent", 4) + +theme.titlebar_maximized_button_normal_inactive = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.green, "transparent", 4) +theme.titlebar_maximized_button_focus_inactive = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.green, "transparent", 4) +theme.titlebar_maximized_button_normal_active = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.green, "transparent", 4) +theme.titlebar_maximized_button_focus_active = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.green, "transparent", 4) + +theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png" +theme.menu_height = dpi(15) +theme.menu_width = dpi(100) + +theme.wallpaper = vars.theme_path.."wallpaper.png" + +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, vars.colors.yellow, vars.colors.red +) + +theme.notification_icon_size = dpi(32) +theme.notification_border_width = vars.border_width +theme.notification_border_color = theme.border_normal +theme.notification_shape = vars.shape + +naughty.config.presets.critical.bg = theme.bg_normal +naughty.config.presets.critical.timeout = 3 +naughty.config.presets.critical.fg = theme.fg_normal +naughty.config.presets.critical.border_color = vars.colors.red +naughty.config.defaults.position = "bottom_right" +naughty.config.defaults.border_width = vars.border_width + +theme.tasklist_plain_task_name = true + +theme.icon_theme = "Papirus-Dark" + +return theme + |
