Commit 4e2b3b769e9582005cf77b34b8c3eb4d895ed4fa
Exists in
master
Merge branch 'master' of github.com:lanrat/dotfiles
Showing 3 changed files Side-by-side Diff
awesome/awesome/autostart.lua
View file @
4e2b3b7
awesome/awesome/rc.lua
View file @
4e2b3b7
... | ... | @@ -179,14 +179,19 @@ |
179 | 179 | space = widget({ type = "textbox" }) |
180 | 180 | space.text = " " |
181 | 181 | |
182 | +local fg_end_color = "#FF5656" | |
183 | +local fg_color = "#AECF96" | |
184 | +local fg_center_color = "#FFCF00" | |
185 | +local bg_color = "#111111" | |
186 | + | |
182 | 187 | -- RAM usage widget |
183 | 188 | memwidget = awful.widget.progressbar() |
184 | -memwidget:set_width(10) | |
185 | -memwidget:set_height(20) | |
189 | +memwidget:set_width(8) | |
190 | +memwidget:set_height(18) | |
186 | 191 | memwidget:set_vertical(true) |
187 | -memwidget:set_background_color('#494B4F') | |
188 | -memwidget:set_color('#AECF96') | |
189 | -memwidget:set_gradient_colors({ '#AECF96', '#88A175', '#FF5656' }) | |
192 | +memwidget:set_background_color(bg_color) | |
193 | +memwidget:set_color(fg_color) | |
194 | +memwidget:set_gradient_colors({ fg_color, fg_center_color, fg_end_color }) | |
190 | 195 | -- RAM usage tooltip |
191 | 196 | memwidget_t = awful.tooltip({ objects = { memwidget.widget },}) |
192 | 197 | vicious.cache(vicious.widgets.mem) |
193 | 198 | |
... | ... | @@ -200,18 +205,18 @@ |
200 | 205 | -- CPU usage widget |
201 | 206 | cpuwidget = awful.widget.graph() |
202 | 207 | cpuwidget:set_width(30) |
203 | -cpuwidget:set_height(20) | |
204 | -cpuwidget:set_background_color("#494B4F") | |
205 | -cpuwidget:set_color("#FF5656") | |
206 | -cpuwidget:set_gradient_colors({ "#FF5656", "#88A175", "#AECF96" }) | |
208 | +cpuwidget:set_height(18) | |
209 | +cpuwidget:set_background_color(bg_color) | |
210 | +cpuwidget:set_color(fg_color) | |
211 | +cpuwidget:set_gradient_angle(180) | |
212 | +cpuwidget:set_gradient_colors({ fg_color, fg_center_color, fg_end_color }) | |
207 | 213 | cpuwidget_t = awful.tooltip({ objects = { cpuwidget.widget },}) |
208 | 214 | -- Register CPU widget |
209 | 215 | vicious.register(cpuwidget, vicious.widgets.cpu, |
210 | 216 | function (widget, args) |
211 | 217 | cpuwidget_t:set_text("CPU Usage: " .. args[1] .. "%") |
212 | 218 | return args[1] |
213 | - end) | |
214 | - | |
219 | + end, 2) | |
215 | 220 | |
216 | 221 | -- Create a systray |
217 | 222 | mysystray = widget({ type = "systray" }) |
awesome/awesome/zenburn_LR/theme.lua
View file @
4e2b3b7
... | ... | @@ -18,8 +18,8 @@ |
18 | 18 | theme.fg_normal = "#DCDCCC" |
19 | 19 | theme.fg_focus = "#F0DFAF" |
20 | 20 | theme.fg_urgent = "#CC9393" |
21 | -theme.bg_normal = "#3F3F3F" | |
22 | -theme.bg_focus = "#1E2320" | |
21 | +theme.bg_normal = "#000000" | |
22 | +theme.bg_focus = "#111111" | |
23 | 23 | theme.bg_urgent = "#3F3F3F" |
24 | 24 | -- }}} |
25 | 25 |