-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy paththeme.lua
147 lines (125 loc) · 6.52 KB
/
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
--[[
- awesomeWM 4.0 theme
- github@tdy/awesome
--]]
local awful = require("awful")
-- {{{ Helpers
function hometheme(path) return awful.util.getdir("config") .. "themes/dust/" .. path end
function hometags(path) return hometheme("taglist/") .. path end
function homelayouts(path) return hometheme("layouts/") .. path end
function homewidgets(path) return hometheme("widgets/") .. path end
function hometp(path) return hometheme("tp/") .. path end
function systheme(path) return "/usr/share/awesome/themes/default/" .. path end
function syslayouts(path) return systheme("layouts/") .. path end
function systitle(path) return systheme("titlebar/") .. path end
-- }}}
-- {{{ Main
local theme = {}
theme.wallpaper = hometheme("background.jpg")
theme.font = "terminus 10"
theme.icon_theme = "Faenza-Darkest"
theme.menu_height = 15
theme.menu_width = 100
-- }}}
-- {{{ Colors
theme.fg_normal = "#d9d4cc"
theme.fg_focus = theme.fg_normal
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#908884"
theme.fg_tooltip = "#323232"
theme.fg_em = "#ffffef"
theme.fg_widget = theme.fg_minimize
theme.fg_center_widget = "#6b6461"
theme.fg_end_widget = "#363230"
theme.bg_normal = theme.fg_tooltip
theme.bg_focus = "#75645b"
theme.bg_urgent = "#c77966"
theme.bg_minimize = theme.bg_normal
theme.bg_tooltip = "#d6c1ae"
theme.bg_em = "#5a5a5a"
theme.bg_systray = theme.fg_tooltip
theme.bg_widget = "#343330"
theme.useless_gap = 0
theme.border_width = 2
theme.border_normal = "#222222"
theme.border_focus = theme.bg_focus
theme.border_marked = "#91231c"
theme.border_tooltip = "#444444"
theme.border_widget = "#3f3f3f"
theme.titlebar_bg_focus = theme.border_widget
theme.titlebar_bg_normal = theme.border_widget
theme.mouse_finder_color = "#cc9393"
-- }}}
-- {{{ Icons
theme.taglist_squares_sel = hometags("squaref.png")
theme.taglist_squares_unsel = hometags("square.png")
theme.awesome_icon = hometheme("awesome-dust22.png")
theme.menu_submenu_icon = systheme("submenu.png")
theme.layout_tile = homelayouts("tilew.png")
theme.layout_tileleft = homelayouts("tileleftw.png")
theme.layout_tilebottom = homelayouts("tilebottomw.png")
theme.layout_tiletop = homelayouts("tiletopw.png")
theme.layout_fairv = homelayouts("fairvw.png")
theme.layout_fairh = homelayouts("fairhw.png")
theme.layout_spiral = homelayouts("spiralw.png")
theme.layout_dwindle = homelayouts("dwindlew.png")
theme.layout_max = homelayouts("maxw.png")
theme.layout_fullscreen = homelayouts("fullscreenw.png")
theme.layout_magnifier = homelayouts("magnifierw.png")
theme.layout_floating = homelayouts("floatingw.png")
theme.layout_cornernw = syslayouts("cornernww.png") -- TODO
theme.layout_cornerne = syslayouts("cornernew.png") -- TODO
theme.layout_cornersw = syslayouts("cornersww.png") -- TODO
theme.layout_cornerse = syslayouts("cornersew.png") -- TODO
theme.widget_disk = homewidgets("disk.png")
theme.widget_cpu = homewidgets("cpu.png")
theme.widget_ac = homewidgets("ac.png")
theme.widget_acblink = homewidgets("acblink.png")
theme.widget_blank = homewidgets("blank.png")
theme.widget_batfull = homewidgets("batfull.png")
theme.widget_batmed = homewidgets("batmed.png")
theme.widget_batlow = homewidgets("batlow.png")
theme.widget_batempty = homewidgets("batempty.png")
theme.widget_vol = homewidgets("vol.png")
theme.widget_mute = homewidgets("mute.png")
theme.widget_pac = homewidgets("pac.png")
theme.widget_pacnew = homewidgets("pacnew.png")
theme.widget_mail = homewidgets("mail.png")
theme.widget_mailnew = homewidgets("mailnew.png")
theme.widget_temp = homewidgets("temp.png")
theme.widget_tempwarn = homewidgets("tempwarm.png")
theme.widget_temphot = homewidgets("temphot.png")
theme.widget_wifi = homewidgets("wifi.png")
theme.widget_nowifi = homewidgets("nowifi.png")
theme.widget_mpd = homewidgets("mpd.png")
theme.widget_play = homewidgets("play.png")
theme.widget_pause = homewidgets("pause.png")
theme.widget_ram = homewidgets("ram.png")
theme.widget_mem = hometp("ram.png")
theme.widget_swap = hometp("swap.png")
theme.widget_fs = hometp("fs_01.png")
theme.widget_fs2 = hometp("fs_02.png")
theme.widget_up = hometp("up.png")
theme.widget_down = hometp("down.png")
theme.titlebar_close_button_focus = systitle("close_focus.png")
theme.titlebar_close_button_normal = systitle("close_normal.png")
theme.titlebar_minimize_button_normal = systitle("minimize_normal.png")
theme.titlebar_minimize_button_focus = systitle("minimize_focus.png")
theme.titlebar_ontop_button_focus_active = systitle("ontop_focus_active.png")
theme.titlebar_ontop_button_normal_active = systitle("ontop_normal_active.png")
theme.titlebar_ontop_button_focus_inactive = systitle("ontop_focus_inactive.png")
theme.titlebar_ontop_button_normal_inactive = systitle("ontop_normal_inactive.png")
theme.titlebar_sticky_button_focus_active = systitle("sticky_focus_active.png")
theme.titlebar_sticky_button_normal_active = systitle("sticky_normal_active.png")
theme.titlebar_sticky_button_focus_inactive = systitle("sticky_focus_inactive.png")
theme.titlebar_sticky_button_normal_inactive = systitle("sticky_normal_inactive.png")
theme.titlebar_floating_button_focus_active = systitle("floating_focus_active.png")
theme.titlebar_floating_button_normal_active = systitle("floating_normal_active.png")
theme.titlebar_floating_button_focus_inactive = systitle("floating_focus_inactive.png")
theme.titlebar_floating_button_normal_inactive = systitle("floating_normal_inactive.png")
theme.titlebar_maximized_button_focus_active = systitle("maximized_focus_active.png")
theme.titlebar_maximized_button_normal_active = systitle("maximized_normal_active.png")
theme.titlebar_maximized_button_focus_inactive = systitle("maximized_focus_inactive.png")
theme.titlebar_maximized_button_normal_inactive = systitle("maximized_normal_inactive.png")
return theme
-- vim: ft=lua ts=2 sts=2 sw=2 et