Show system info only on primary monitor
This commit is contained in:
parent
364ec85884
commit
9574a2c171
2
rc.lua
2
rc.lua
|
@ -42,6 +42,7 @@ for s in screen do
|
|||
local mail = widgets.add.mail("mail", rbottom, { os.getenv("HOME") .. "/.maildir/uber" }, "bottom_right", "uber")
|
||||
mail:set_left(15)
|
||||
|
||||
if s == screen.primary then
|
||||
widgets.add.cpu("cpu", rtop)
|
||||
widgets.add.spacer(rtop)
|
||||
widgets.add.battery("int", rtop, "BAT0")
|
||||
|
@ -51,6 +52,7 @@ for s in screen do
|
|||
widgets.add.wifi("wlan", rtop, "wlan0")
|
||||
widgets.add.spacer(rtop)
|
||||
widgets.add.systray(rtop)
|
||||
end
|
||||
|
||||
widgets.set_spacer_text(" ◈ ")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue