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