diff options
author | delta <darkussdelta@gmail.com> | 2023-04-04 15:43:40 +0200 |
---|---|---|
committer | delta <darkussdelta@gmail.com> | 2023-04-04 15:43:40 +0200 |
commit | f7116d268aff3fae88d8de408e8c807295618a5c (patch) | |
tree | 6f52530d5799769e6af7c63bc5108f16f9aff742 /.config/awesome/prismite.lua | |
parent | f0b32f45746c026d402651013b7e98315d6956a1 (diff) |
restructure and improve config
Diffstat (limited to '.config/awesome/prismite.lua')
-rw-r--r-- | .config/awesome/prismite.lua | 56 |
1 files changed, 19 insertions, 37 deletions
diff --git a/.config/awesome/prismite.lua b/.config/awesome/prismite.lua index 194254d..14c6987 100644 --- a/.config/awesome/prismite.lua +++ b/.config/awesome/prismite.lua @@ -1,61 +1,43 @@ local xresources = require "beautiful.xresources" local dpi = xresources.apply_dpi -local g = require("gears") local naughty = require("naughty") -local vars = require "misc.vars" +local qvars = require "quarrel.vars" local theme = {} -theme.font = vars.font +theme.font = qvars.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.bg_normal = qvars.colors.bg +theme.bg_focus = qvars.colors.bg +theme.bg_urgent = qvars.colors.bg +theme.bg_minimize = qvars.colors.bg +theme.bg_systray = qvars.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.fg_normal = qvars.colors.fg +theme.fg_focus = qvars.colors.fg +theme.fg_urgent = qvars.colors.fg +theme.fg_minimize = qvars.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_inactive_hover = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.bright.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.titlebar_maximized_button_normal_active_hover = g.surface.load_from_shape(15, 15, g.shape.rounded_rect, vars.colors.green, "transparent", 4) +theme.border_width = qvars.border_width +theme.border_normal = qvars.colors.bright.black +theme.border_focus = qvars.colors.bright.black +theme.border_marked = qvars.colors.bright.black theme.notification_icon_size = dpi(32) -theme.notification_border_width = vars.border_width +theme.notification_border_width = qvars.border_width theme.notification_border_color = theme.border_normal -theme.notification_shape = vars.shape +theme.notification_shape = qvars.shape theme.notification_spacing = theme.useless_gap * 2 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.presets.critical.border_color = qvars.colors.red naughty.config.defaults.position = "bottom_right" -naughty.config.defaults.border_width = vars.border_width +naughty.config.defaults.border_width = qvars.border_width theme.tasklist_plain_task_name = true theme.enable_spawn_cursor = false |