aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/prismite.lua
blob: 497a1b98db25f905dcfbaf341b7d0d20bd311cf1 (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 qcolor = require "quarrel.color"
local qui = require "quarrel.ui"
local xresources = require "beautiful.xresources"
local dpi = xresources.apply_dpi

local theme = {}

theme.font = qui.font()

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 = 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.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 = qui.BORDER_WIDTH
theme.notification_border_color = theme.border_normal
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.position = "bottom_right"
-- naughty.config.defaults.border_width = qui.BORDER_WIDTH

theme.tasklist_plain_task_name = true
theme.enable_spawn_cursor = false

return theme