removed bat widget and are using cbatticon graphical widget instead
This commit is contained in:
parent
c008496828
commit
aabb373454
1 changed files with 4 additions and 3 deletions
|
|
@ -15,6 +15,7 @@ vicious = require("vicious")
|
||||||
|
|
||||||
-- Set programs to autostart. They will only runce once even when reloading awesome.
|
-- Set programs to autostart. They will only runce once even when reloading awesome.
|
||||||
local autostart = {
|
local autostart = {
|
||||||
|
"cbatticon",
|
||||||
"nm-applet",
|
"nm-applet",
|
||||||
"pasystray",
|
"pasystray",
|
||||||
"xfsettingsd",
|
"xfsettingsd",
|
||||||
|
|
@ -130,8 +131,8 @@ end
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- Initialize widgets
|
-- Initialize widgets
|
||||||
local batwidget = wibox.widget.textbox()
|
--local batwidget = wibox.widget.textbox()
|
||||||
vicious.register(batwidget, vicious.widgets.bat, " $2%/$3 | ", 20, "BAT0" )
|
--vicious.register(batwidget, vicious.widgets.bat, " $2%/$3 | ", 20, "BAT0" )
|
||||||
|
|
||||||
local thermalwidget = wibox.widget.textbox()
|
local thermalwidget = wibox.widget.textbox()
|
||||||
vicious.register(thermalwidget, vicious.widgets.thermal, "$1C ", 20, "thermal_zone0" )
|
vicious.register(thermalwidget, vicious.widgets.thermal, "$1C ", 20, "thermal_zone0" )
|
||||||
|
|
@ -353,7 +354,7 @@ for s = 1, screen.count() do
|
||||||
-- Widgets that are aligned to the right
|
-- Widgets that are aligned to the right
|
||||||
local right_layout = wibox.layout.fixed.horizontal()
|
local right_layout = wibox.layout.fixed.horizontal()
|
||||||
right_layout:add(cpuwidget)
|
right_layout:add(cpuwidget)
|
||||||
right_layout:add(batwidget)
|
-- right_layout:add(batwidget)
|
||||||
right_layout:add(thermalwidget)
|
right_layout:add(thermalwidget)
|
||||||
if s == 1 then right_layout:add(wibox.widget.systray()) end
|
if s == 1 then right_layout:add(wibox.widget.systray()) end
|
||||||
right_layout:add(mytextclock)
|
right_layout:add(mytextclock)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue