aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/prismite.lua
blob: 72701b64840e42d9a92ed50a9bfb46183d61afaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
local naughty = require "naughty"
local qvars = require "quarrel.vars"
local xresources = require "beautiful.xresources"
local dpi = xresources.apply_dpi

local theme = {}

theme.font = qvars.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.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 = 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 = qvars.border_width
theme.notification_border_color = theme.border_normal
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 = qvars.colors.red
naughty.config.defaults.position = "bottom_right"
naughty.config.defaults.border_width = qvars.border_width

theme.tasklist_plain_task_name = true
theme.enable_spawn_cursor = false

return theme