-
Notifications
You must be signed in to change notification settings - Fork 8
/
theme.lua
134 lines (114 loc) · 5.96 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
-----------------------
-- AwesomeWM theme --
-- based on Dust GTK --
-- <tdy@gmx.com> --
-----------------------
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 systitle(path) return systheme("/titlebar") .. path end
-- }}}
-- {{ Main
theme = {}
theme.wallpaper = hometheme("/background.jpg")
theme.font = "ubuntu mono 18"
theme.menu_height = 15
theme.menu_width = 100
-- }}}
-- {{{ Colors
theme.fg_normal = "#aaaaaa"
theme.fg_focus = "#111111"
theme.fg_urgent = "#ffffff"
theme.fg_tooltip = "#1a1a1a"
theme.fg_em = "#d6d6d6"
theme.fg_widget = "#908884"
theme.fg_center_widget = "#636363"
theme.fg_end_widget = theme.fg_tooltip
theme.bg_normal = theme.fg_tooltip
theme.bg_focus = theme.fg_widget
theme.bg_urgent = "#cd7171"
theme.bg_tooltip = theme.fg_em
theme.bg_em = "#5a5a5a"
theme.bg_systray = theme.fg_tooltip
theme.bg_widget = "#2a2a2a"
theme.border_width = 1
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.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_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