From e648bb980d25b2f803a7aebde0e2d17de18f16ee Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Sun, 18 Apr 2021 17:52:04 -0700 Subject: [PATCH] polybar: Add systray to primary bar --- polybar/config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/polybar/config b/polybar/config index f9d5bc9..cc23934 100644 --- a/polybar/config +++ b/polybar/config @@ -14,6 +14,16 @@ alert = #bd2c40 inherit = mixins/bar monitor = ${env:MONITOR} +# Set a fixed position that's far enough away to fit the other content. This +# leaves a weird gap, but both the tray and the network module are +# variable-sized, so there's no resolving that until the tray can be positioned +# like any other module. +# +# TODO: https://github.com/polybar/polybar/issues/314 +tray-position = right +tray-detached = true +tray-offset-x = -400 + [bar/secondary] inherit = mixins/bar monitor = ${env:MONITOR}