From b3530d7c4a102935fa26498a160ee1dc6c1e9c03 Mon Sep 17 00:00:00 2001 From: delta Date: Fri, 4 Jul 2025 00:38:29 +0200 Subject: :3 --- .config/awesome/prismite.lua | 45 +++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) (limited to '.config/awesome/prismite.lua') diff --git a/.config/awesome/prismite.lua b/.config/awesome/prismite.lua index 5de089f..497a1b9 100644 --- a/.config/awesome/prismite.lua +++ b/.config/awesome/prismite.lua @@ -1,39 +1,42 @@ local naughty = require "naughty" -local qvars = require "quarrel.vars" +local qcolor = require "quarrel.color" +local qui = require "quarrel.ui" local xresources = require "beautiful.xresources" local dpi = xresources.apply_dpi local theme = {} -theme.font = qvars.font +theme.font = qui.font() -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.bg_normal = qcolor.palette.bg() +theme.bg_focus = qcolor.palette.bg() +theme.bg_urgent = qcolor.palette.bg() +theme.bg_minimize = qcolor.palette.bg() +theme.bg_systray = qcolor.palette.bg() -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.fg_normal = qcolor.palette.fg() +theme.fg_focus = qcolor.palette.fg() +theme.fg_urgent = qcolor.palette.fg() +theme.fg_minimize = qcolor.palette.fg() -theme.useless_gap = dpi(2) -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.useless_gap = dpi(2) +theme.useless_gap = qui.PADDING / 2 +theme.border_width = qui.BORDER_WIDTH +theme.border_normal = qcolor.palette.border() +theme.border_focus = qcolor.palette.border() +theme.border_marked = qcolor.palette.border() theme.notification_icon_size = dpi(32) -theme.notification_border_width = qvars.border_width +theme.notification_border_width = qui.BORDER_WIDTH theme.notification_border_color = theme.border_normal -theme.notification_max_width = qvars.char_width * 48 -theme.notification_shape = qvars.shape +theme.notification_max_width = qui.CHAR_WIDTH * 48 +-- theme.notification_max_width = qui.CHAR_WIDTH * 48 * 4 +theme.notification_shape = qui.shape theme.notification_spacing = theme.useless_gap * 2 -naughty.config.defaults.timeout = qvars.notif_timeout +-- naughty.config.defaults.timeout = qvars.notif_timeout naughty.config.defaults.position = "bottom_right" -naughty.config.defaults.border_width = qvars.border_width +-- naughty.config.defaults.border_width = qui.BORDER_WIDTH theme.tasklist_plain_task_name = true theme.enable_spawn_cursor = false -- cgit v1.2.3