diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-11-18 16:08:05 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-11-18 16:08:05 +0100 |
commit | 3e06b7abcfe76196ea19631634fa71172415d13a (patch) | |
tree | 04cf8df79d322ec1289a78634aa8762a53f75654 | |
parent | 18725f61f1ed8a2b5b3dd2bc5b0b4d833efe78ab (diff) |
rc: add a systray to all screens.
It will only actually display on the primary one.
-rw-r--r-- | rc.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -64,6 +64,9 @@ local clock_date = wibox.widget.textclock("<span size=\"11500\">%a %F</span>", 6 clock_time:set_align("center") clock_date:set_align("center") +local systray = wibox.widget.systray() +systray:set_base_size(32) + -- Create a wibox for each screen and add it mywibox = {} mypromptbox = {} @@ -102,7 +105,8 @@ for s in screen do -- Widgets that are aligned to the right local right_layout = wibox.layout.fixed.vertical() - if s.index == 1 then right_layout:add(wibox.widget.systray()) end + + right_layout:add(systray) right_layout:add(layoutbox) right_layout:add(clock_time) |