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