From 3e06b7abcfe76196ea19631634fa71172415d13a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 18 Nov 2020 16:08:05 +0100 Subject: rc: add a systray to all screens. It will only actually display on the primary one. --- rc.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rc.lua b/rc.lua index 2974027..01f02fe 100644 --- a/rc.lua +++ b/rc.lua @@ -64,6 +64,9 @@ local clock_date = wibox.widget.textclock("%a %F", 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) -- cgit v1.2.3