Change battery color, added show_volume setting
This commit is contained in:
parent
278d6d5a02
commit
e0894ff4bc
@ -31,5 +31,5 @@ local bat = lain.widget.bat({
|
||||
|
||||
return { {
|
||||
widget = wibox.layout.fixed.horizontal(baticon, bat.widget),
|
||||
bg = '#e54c62',
|
||||
bg = '#f1af5f',
|
||||
} }
|
||||
|
@ -2,11 +2,12 @@ local gears = require('gears')
|
||||
local settings = require('theme.settings')
|
||||
|
||||
local show_battery = settings['show_battery'] == true
|
||||
local show_volume = settings['show_volume'] == true
|
||||
|
||||
return gears.table.join(
|
||||
require('theme.info.net'),
|
||||
show_battery and require('theme.info.battery') or {},
|
||||
require('theme.info.volume'),
|
||||
show_volume and require('theme.info.volume') or {},
|
||||
require('theme.info.mem'),
|
||||
require('theme.info.cpu'),
|
||||
require('theme.info.fs'),
|
||||
|
Loading…
Reference in New Issue
Block a user