dots/.config/awesome/prismite.lua

47 lines
1.4 KiB
Lua
Raw Normal View History

2023-01-29 02:59:52 -06:00
local xresources = require "beautiful.xresources"
local dpi = xresources.apply_dpi
local naughty = require("naughty")
2023-04-04 08:43:40 -05:00
local qvars = require "quarrel.vars"
2023-01-29 02:59:52 -06:00
local theme = {}
2023-04-04 08:43:40 -05:00
theme.font = qvars.font
2023-01-29 02:59:52 -06:00
2023-04-04 08:43:40 -05:00
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
2023-01-29 02:59:52 -06:00
2023-04-04 08:43:40 -05:00
theme.fg_normal = qvars.colors.fg
theme.fg_focus = qvars.colors.fg
theme.fg_urgent = qvars.colors.fg
theme.fg_minimize = qvars.colors.fg
2023-01-29 02:59:52 -06:00
theme.useless_gap = dpi(2)
2023-04-04 08:43:40 -05:00
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
2023-01-29 02:59:52 -06:00
theme.notification_icon_size = dpi(32)
2023-04-04 08:43:40 -05:00
theme.notification_border_width = qvars.border_width
2023-01-29 02:59:52 -06:00
theme.notification_border_color = theme.border_normal
2023-04-04 08:43:40 -05:00
theme.notification_shape = qvars.shape
theme.notification_spacing = theme.useless_gap * 2
2023-01-29 02:59:52 -06:00
naughty.config.presets.critical.bg = theme.bg_normal
naughty.config.presets.critical.timeout = 3
naughty.config.presets.critical.fg = theme.fg_normal
2023-04-04 08:43:40 -05:00
naughty.config.presets.critical.border_color = qvars.colors.red
2023-01-29 02:59:52 -06:00
naughty.config.defaults.position = "bottom_right"
2023-04-04 08:43:40 -05:00
naughty.config.defaults.border_width = qvars.border_width
2023-01-29 02:59:52 -06:00
theme.tasklist_plain_task_name = true
theme.enable_spawn_cursor = false
2023-01-29 02:59:52 -06:00
return theme