[awesome] add divider
This commit is contained in:
parent
e1de422580
commit
9541b7e02f
9
home/.config/awesome/divider.lua
Normal file
9
home/.config/awesome/divider.lua
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
local wibox = require("wibox")
|
||||||
|
|
||||||
|
local sensors_widget = wibox.widget{
|
||||||
|
markup = '|',
|
||||||
|
align = 'center',
|
||||||
|
widget = wibox.widget.textbox
|
||||||
|
}
|
||||||
|
|
||||||
|
return wibox.container.margin(sensors_widget, 4)
|
|
@ -241,7 +241,9 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
wibox.widget.systray(),
|
wibox.widget.systray(),
|
||||||
require("battery"),
|
require("battery"),
|
||||||
|
require("divider"),
|
||||||
require("sensors"),
|
require("sensors"),
|
||||||
|
require("divider"),
|
||||||
mytextclock,
|
mytextclock,
|
||||||
s.mylayoutbox,
|
s.mylayoutbox,
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue