24030b30d21b5cefbbd8ee068d77f09f4f7a24eb
[tj-awesome-themes.git] / Darklooks / theme.lua
1 -- Darklooks theme for Awesome 3.5
2 -- Copyright (C) 2011-2016 Tuomas Jormola <tj@solitudo.net>
3 --
4 -- Licensed under the terms of GNU General Public License Version 2.0.
5 --
6 -- Designed to be used with Darklooks GTK+ theme and GNOME icon theme.
7 -- Darklooks GTK+ theme is included in gnome-themes-extras and
8 -- the icon theme in gnome-themes package of GNOME 2.3x.
9 -- freedesktop.org module for Awesome is required for the icon support.
10 --
11 -- Theme also uses Droid Sans Mono font. On Ubuntu system this font
12 -- is available in the package ttf-droid.
13
14 local awful = require('awful')
15 local freedesktop = { utils = require('freedesktop.utils') }
16
17 local theme = {}
18
19 -- Icon theme and font
20 freedesktop.utils.icon_theme                    = 'Adawaita'
21 theme.font                                      = 'Source Code Pro 10'
22 theme.monospace_font                            = theme.font
23
24 -- Colors
25 theme.bg_focus                                  = '#7aa3cc'
26 theme.bg_normal                                 = '#555753'
27 theme.bg_urgent                                 = '#7f55d7'
28 theme.bg_minimize                               = '#3f403d'
29
30 theme.fg_normal                                 = '#e6e6e6'
31 theme.fg_focus                                  = '#ffffff'
32 theme.fg_urgent                                 = '#ffffff'
33 theme.fg_minimize                               = '#7aa3cc'
34
35 theme.border_normal                             = '#e6e6e6'
36 theme.border_focus                              = '#7aa3cc'
37 theme.border_marked                             = '#7f55d7'
38
39 theme.bg_widget                                 = '#555753'
40 theme.fg_widget                                 = '#aaaaaa'
41 theme.fg_center_widget                          = '#555555'
42 theme.fg_end_widget                             = '#000000'
43
44 theme.tooltip_bg_color                          = '#edde5c'
45 theme.tooltip_fg_color                          = '#000000'
46
47 -- Misc. settings
48 theme.wallpaper_cmd                             = { 'xsetroot -solid \\#40659f' }
49 theme.taglist_squares                           = 'true'
50 theme.titlebar_close_button                     = 'true'
51 theme.border_width                              = '1'
52 theme.menu_height                               = '16'
53 theme.menu_width                                = '100'
54
55 -- Use default images for layout, tasklist, taglist and menu submenus
56 theme.layout_fairh                              = '/usr/share/awesome/themes/default/layouts/fairh.png'
57 theme.layout_fairv                              = '/usr/share/awesome/themes/default/layouts/fairv.png'
58 theme.layout_floating                           = '/usr/share/awesome/themes/default/layouts/floating.png'
59 theme.layout_magnifier                          = '/usr/share/awesome/themes/default/layouts/magnifier.png'
60 theme.layout_max                                = '/usr/share/awesome/themes/default/layouts/max.png'
61 theme.layout_fullscreen                         = '/usr/share/awesome/themes/default/layouts/fullscreen.png'
62 theme.layout_tilebottom                         = '/usr/share/awesome/themes/default/layouts/tilebottom.png'
63 theme.layout_tileleft                           = '/usr/share/awesome/themes/default/layouts/tileleft.png'
64 theme.layout_tile                               = '/usr/share/awesome/themes/default/layouts/tile.png'
65 theme.layout_tiletop                            = '/usr/share/awesome/themes/default/layouts/tiletop.png'
66
67 theme.taglist_squares_sel                       = '/usr/share/awesome/themes/default/taglist/squarefw.png'
68 theme.taglist_squares_unsel                     = '/usr/share/awesome/themes/default/taglist/squarew.png'
69
70 theme.tasklist_floating_icon                    = '/usr/share/awesome/themes/default/layouts/floating.png'
71
72 theme.menu_submenu_icon                         = '/usr/share/awesome/themes/default/submenu.png'
73
74 -- Awesome icon
75 theme.awesome_icon                              = awful.util.getdir('config') .. '/themes/Darklooks/awesome-icon.png'
76
77 -- Titlebar images
78 theme.titlebar_close_button_normal              = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/close_normal.png'
79 theme.titlebar_close_button_focus               = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/close_focus.png'
80
81 theme.titlebar_ontop_button_normal_inactive     = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_normal_inactive.png'
82 theme.titlebar_ontop_button_focus_inactive      = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_focus_inactive.png'
83 theme.titlebar_ontop_button_normal_active       = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_normal_active.png'
84 theme.titlebar_ontop_button_focus_active        = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/ontop_focus_active.png'
85
86 theme.titlebar_sticky_button_normal_inactive    = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_normal_inactive.png'
87 theme.titlebar_sticky_button_focus_inactive     = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_focus_inactive.png'
88 theme.titlebar_sticky_button_normal_active      = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_normal_active.png'
89 theme.titlebar_sticky_button_focus_active       = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/sticky_focus_active.png'
90
91 theme.titlebar_floating_button_normal_inactive  = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_normal_inactive.png'
92 theme.titlebar_floating_button_focus_inactive   = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_focus_inactive.png'
93 theme.titlebar_floating_button_normal_active    = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_normal_active.png'
94 theme.titlebar_floating_button_focus_active     = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/floating_focus_active.png'
95
96 theme.titlebar_maximized_button_normal_inactive = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_normal_inactive.png'
97 theme.titlebar_maximized_button_focus_inactive  = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_focus_inactive.png'
98 theme.titlebar_maximized_button_normal_active   = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_normal_active.png'
99 theme.titlebar_maximized_button_focus_active    = awful.util.getdir('config') .. '/themes/Darklooks/titlebar/maximized_focus_active.png'
100
101 -- Delightful Widget icons
102 -- Generic icons
103 theme.delightful_error                          = '/usr/share/icons/Adwaita/16x16/status/dialog-error.png'
104 theme.delightful_not_found                      = '/usr/share/icons/gnome/16x16/status/dialog-question.png'
105
106 -- CPU widget
107 theme.delightful_cpu                            = '/usr/share/icons/hicolor/22x22/devices/sensors-applet-cpu.png'
108
109 -- Memory widget
110 theme.delightful_memory                         = '/usr/share/icons/hicolor/22x22/devices/sensors-applet-memory.png'
111
112 -- Battery widget
113 theme.delightful_battery_ac                     = '/usr/share/icons/gnome/16x16/actions/help-about.png'
114 theme.delightful_battery_full                   = '/usr/share/icons/gnome/16x16/devices/battery.png'
115 theme.delightful_battery_medium                 = '/usr/share/icons/gnome/16x16/status/battery-low.png'
116 theme.delightful_battery_low                    = '/usr/share/icons/gnome/16x16/status/battery-caution.png'
117
118 -- IMAP widget
119 theme.delightful_imap_mail_read                 = '/usr/share/icons/gnome/32x32/status/stock_mail-open.png'
120 theme.delightful_imap_mail_unread               = '/usr/share/icons/gnome/32x32/status/stock_mail-unread.png'
121
122 -- Network widget
123 theme.delightful_network_dialup                 = '/usr/share/icons/gnome/16x16/devices/modem.png'
124 theme.delightful_network_wired                  = '/usr/share/icons/gnome/16x16/devices/network-wired.png'
125 theme.delightful_network_wireless               = '/usr/share/icons/gnome/16x16/devices/network-wireless.png'
126
127 -- Volume widget
128 theme.delightful_vol                            = '/usr/share/icons/gnome/16x16/status/audio-volume-high.png'
129 theme.delightful_vol_max                        = '/usr/share/icons/gnome/16x16/status/audio-volume-high.png'
130 theme.delightful_vol_med                        = '/usr/share/icons/gnome/16x16/status/audio-volume-medium.png'
131 theme.delightful_vol_min                        = '/usr/share/icons/gnome/16x16/status/audio-volume-low.png'
132 theme.delightful_vol_zero                       = '/usr/share/icons/gnome/16x16/status/audio-volume-low.png'
133 theme.delightful_vol_mute                       = '/usr/share/icons/gnome/16x16/status/audio-volume-muted.png'
134
135 -- Weather widget
136 theme.delightful_weather_clear                  = '/usr/share/icons/gnome/16x16/status/weather-clear.png'
137 theme.delightful_weather_clear_night            = '/usr/share/icons/gnome/16x16/status/weather-clear-night.png'
138 theme.delightful_weather_clear_night_000        = '/usr/share/icons/mate/16x16/status/weather-clear-night-000.png'
139 theme.delightful_weather_clear_night_010        = '/usr/share/icons/mate/16x16/status/weather-clear-night-010.png'
140 theme.delightful_weather_clear_night_020        = '/usr/share/icons/mate/16x16/status/weather-clear-night-020.png'
141 theme.delightful_weather_clear_night_030        = '/usr/share/icons/mate/16x16/status/weather-clear-night-030.png'
142 theme.delightful_weather_clear_night_040        = '/usr/share/icons/mate/16x16/status/weather-clear-night-040.png'
143 theme.delightful_weather_clear_night_050        = '/usr/share/icons/mate/16x16/status/weather-clear-night-050.png'
144 theme.delightful_weather_clear_night_060        = '/usr/share/icons/mate/16x16/status/weather-clear-night-060.png'
145 theme.delightful_weather_clear_night_070        = '/usr/share/icons/mate/16x16/status/weather-clear-night-070.png'
146 theme.delightful_weather_clear_night_080        = '/usr/share/icons/mate/16x16/status/weather-clear-night-080.png'
147 theme.delightful_weather_clear_night_090        = '/usr/share/icons/mate/16x16/status/weather-clear-night-090.png'
148 theme.delightful_weather_clear_night_100        = '/usr/share/icons/mate/16x16/status/weather-clear-night-100.png'
149 theme.delightful_weather_clear_night_110        = '/usr/share/icons/mate/16x16/status/weather-clear-night-110.png'
150 theme.delightful_weather_clear_night_120        = '/usr/share/icons/mate/16x16/status/weather-clear-night-120.png'
151 theme.delightful_weather_clear_night_130        = '/usr/share/icons/mate/16x16/status/weather-clear-night-130.png'
152 theme.delightful_weather_clear_night_140        = '/usr/share/icons/mate/16x16/status/weather-clear-night-140.png'
153 theme.delightful_weather_clear_night_150        = '/usr/share/icons/mate/16x16/status/weather-clear-night-150.png'
154 theme.delightful_weather_clear_night_160        = '/usr/share/icons/mate/16x16/status/weather-clear-night-160.png'
155 theme.delightful_weather_clear_night_170        = '/usr/share/icons/mate/16x16/status/weather-clear-night-170.png'
156 theme.delightful_weather_clear_night_190        = '/usr/share/icons/mate/16x16/status/weather-clear-night-190.png'
157 theme.delightful_weather_clear_night_200        = '/usr/share/icons/mate/16x16/status/weather-clear-night-200.png'
158 theme.delightful_weather_clear_night_210        = '/usr/share/icons/mate/16x16/status/weather-clear-night-210.png'
159 theme.delightful_weather_clear_night_220        = '/usr/share/icons/mate/16x16/status/weather-clear-night-220.png'
160 theme.delightful_weather_clear_night_230        = '/usr/share/icons/mate/16x16/status/weather-clear-night-230.png'
161 theme.delightful_weather_clear_night_240        = '/usr/share/icons/mate/16x16/status/weather-clear-night-240.png'
162 theme.delightful_weather_clear_night_250        = '/usr/share/icons/mate/16x16/status/weather-clear-night-250.png'
163 theme.delightful_weather_clear_night_260        = '/usr/share/icons/mate/16x16/status/weather-clear-night-260.png'
164 theme.delightful_weather_clear_night_270        = '/usr/share/icons/mate/16x16/status/weather-clear-night-270.png'
165 theme.delightful_weather_clear_night_280        = '/usr/share/icons/mate/16x16/status/weather-clear-night-280.png'
166 theme.delightful_weather_clear_night_290        = '/usr/share/icons/mate/16x16/status/weather-clear-night-290.png'
167 theme.delightful_weather_clear_night_300        = '/usr/share/icons/mate/16x16/status/weather-clear-night-300.png'
168 theme.delightful_weather_clear_night_310        = '/usr/share/icons/mate/16x16/status/weather-clear-night-310.png'
169 theme.delightful_weather_clear_night_320        = '/usr/share/icons/mate/16x16/status/weather-clear-night-320.png'
170 theme.delightful_weather_clear_night_330        = '/usr/share/icons/mate/16x16/status/weather-clear-night-330.png'
171 theme.delightful_weather_clear_night_340        = '/usr/share/icons/mate/16x16/status/weather-clear-night-340.png'
172 theme.delightful_weather_clear_night_350        = '/usr/share/icons/mate/16x16/status/weather-clear-night-350.png'
173 theme.delightful_weather_few_clouds             = '/usr/share/icons/gnome/16x16/status/weather-few-clouds.png'
174 theme.delightful_weather_few_clouds_night       = '/usr/share/icons/gnome/16x16/status/weather-few-clouds-night.png'
175 theme.delightful_weather_few_clouds_night_000   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-000.png'
176 theme.delightful_weather_few_clouds_night_010   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-010.png'
177 theme.delightful_weather_few_clouds_night_020   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-020.png'
178 theme.delightful_weather_few_clouds_night_030   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-030.png'
179 theme.delightful_weather_few_clouds_night_040   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-040.png'
180 theme.delightful_weather_few_clouds_night_050   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-050.png'
181 theme.delightful_weather_few_clouds_night_060   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-060.png'
182 theme.delightful_weather_few_clouds_night_070   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-070.png'
183 theme.delightful_weather_few_clouds_night_080   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-080.png'
184 theme.delightful_weather_few_clouds_night_090   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-090.png'
185 theme.delightful_weather_few_clouds_night_100   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-100.png'
186 theme.delightful_weather_few_clouds_night_110   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-110.png'
187 theme.delightful_weather_few_clouds_night_120   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-120.png'
188 theme.delightful_weather_few_clouds_night_130   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-130.png'
189 theme.delightful_weather_few_clouds_night_140   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-140.png'
190 theme.delightful_weather_few_clouds_night_150   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-150.png'
191 theme.delightful_weather_few_clouds_night_160   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-160.png'
192 theme.delightful_weather_few_clouds_night_170   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-170.png'
193 theme.delightful_weather_few_clouds_night_190   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-190.png'
194 theme.delightful_weather_few_clouds_night_200   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-200.png'
195 theme.delightful_weather_few_clouds_night_210   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-210.png'
196 theme.delightful_weather_few_clouds_night_220   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-220.png'
197 theme.delightful_weather_few_clouds_night_230   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-230.png'
198 theme.delightful_weather_few_clouds_night_240   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-240.png'
199 theme.delightful_weather_few_clouds_night_250   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-250.png'
200 theme.delightful_weather_few_clouds_night_260   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-260.png'
201 theme.delightful_weather_few_clouds_night_270   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-270.png'
202 theme.delightful_weather_few_clouds_night_280   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-280.png'
203 theme.delightful_weather_few_clouds_night_290   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-290.png'
204 theme.delightful_weather_few_clouds_night_300   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-300.png'
205 theme.delightful_weather_few_clouds_night_310   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-310.png'
206 theme.delightful_weather_few_clouds_night_320   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-320.png'
207 theme.delightful_weather_few_clouds_night_330   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-330.png'
208 theme.delightful_weather_few_clouds_night_340   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-340.png'
209 theme.delightful_weather_few_clouds_night_350   = '/usr/share/icons/mate/16x16/status/weather-few-clouds-night-350.png'
210 theme.delightful_weather_fog                    = '/usr/share/icons/gnome/16x16/status/weather-fog.png'
211 theme.delightful_weather_overcast               = '/usr/share/icons/gnome/16x16/status/weather-overcast.png'
212 theme.delightful_weather_showers                = '/usr/share/icons/gnome/16x16/status/weather-showers.png'
213 theme.delightful_weather_scattered_showers      = '/usr/share/icons/gnome/16x16/status/weather-showers-scattered.png'
214 theme.delightful_weather_snow                   = '/usr/share/icons/gnome/16x16/status/weather-snow.png'
215 theme.delightful_weather_strom                  = '/usr/share/icons/gnome/16x16/status/weather-storm.png'
216 theme.delightful_weather_alert                  = '/usr/share/icons/gnome/16x16/status/weather-severe-alert.png'
217
218 return theme