-
Notifications
You must be signed in to change notification settings - Fork 242
/
default-theme.lua
110 lines (88 loc) · 3.05 KB
/
default-theme.lua
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
local filesystem = require('gears.filesystem')
local mat_colors = require('theme.mat-colors')
local theme_dir = filesystem.get_configuration_dir() .. '/theme'
local gears = require('gears')
local dpi = require('beautiful').xresources.apply_dpi
local theme = {}
theme.icons = theme_dir .. '/icons/'
theme.font = 'Roboto medium 10'
-- Colors Pallets
-- Primary
theme.primary = mat_colors.deep_orange
-- Accent
theme.accent = mat_colors.pink
-- Background
theme.background = mat_colors.grey
local awesome_overrides =
function(theme)
theme.dir = os.getenv('HOME') .. '/.config/awesome/theme'
--theme.dir = os.getenv("HOME") .. "/code/awesome-pro/themes/pro-dark"
theme.icons = theme.dir .. '/icons/'
--theme.wallpaper = theme.dir .. '/wallpapers/pro-dark-shadow.png'
theme.wallpaper = '#e0e0e0'
theme.font = 'Roboto medium 10'
theme.title_font = 'Roboto medium 14'
theme.fg_normal = '#ffffffde'
theme.fg_focus = '#e4e4e4'
theme.fg_urgent = '#CC9393'
theme.bat_fg_critical = '#232323'
theme.bg_normal = theme.background.hue_800
theme.bg_focus = '#5a5a5a'
theme.bg_urgent = '#3F3F3F'
theme.bg_systray = theme.background.hue_800
-- Borders
theme.border_width = dpi(2)
theme.border_normal = theme.background.hue_800
theme.border_focus = theme.primary.hue_300
theme.border_marked = '#CC9393'
-- Menu
theme.menu_height = dpi(16)
theme.menu_width = dpi(160)
-- Tooltips
theme.tooltip_bg = '#232323'
--theme.tooltip_border_color = '#232323'
theme.tooltip_border_width = 0
theme.tooltip_shape = function(cr, w, h)
gears.shape.rounded_rect(cr, w, h, dpi(6))
end
-- Layout
theme.layout_max = theme.icons .. 'layouts/arrow-expand-all.png'
theme.layout_tile = theme.icons .. 'layouts/view-quilt.png'
-- Taglist
theme.taglist_bg_empty = theme.background.hue_800
theme.taglist_bg_occupied = theme.background.hue_800
theme.taglist_bg_urgent =
'linear:0,0:' ..
dpi(48) ..
',0:0,' ..
theme.accent.hue_500 ..
':0.08,' .. theme.accent.hue_500 .. ':0.08,' .. theme.background.hue_800 .. ':1,' .. theme.background.hue_800
theme.taglist_bg_focus =
'linear:0,0:' ..
dpi(48) ..
',0:0,' ..
theme.primary.hue_500 ..
':0.08,' .. theme.primary.hue_500 .. ':0.08,' .. theme.background.hue_800 .. ':1,' .. theme.background.hue_800
-- Tasklist
theme.tasklist_font = 'Roboto medium 11'
theme.tasklist_bg_normal = theme.background.hue_800
theme.tasklist_bg_focus =
'linear:0,0:0,' ..
dpi(48) ..
':0,' ..
theme.background.hue_800 ..
':0.95,' .. theme.background.hue_800 .. ':0.95,' .. theme.fg_normal .. ':1,' .. theme.fg_normal
theme.tasklist_bg_urgent = theme.primary.hue_800
theme.tasklist_fg_focus = '#DDDDDD'
theme.tasklist_fg_urgent = theme.fg_normal
theme.tasklist_fg_normal = '#AAAAAA'
theme.icon_theme = 'Papirus-Dark'
--Client
theme.border_width = dpi(2)
theme.border_focus = theme.primary.hue_500
theme.border_normal = theme.background.hue_800
end
return {
theme = theme,
awesome_overrides = awesome_overrides
}