fix: make systray behave as it should

This commit is contained in:
xeals 2019-01-15 17:24:06 +11:00
parent e6fd7b5613
commit 5b4584f17a

View File

@ -33,9 +33,10 @@
:align "center"
:widget wibox.container.place})
(local sb-clock (textclock "%H\n%M"))
(local sb-systray (doto (wibox.widget.systray)
(: :set_base_size 24)))
(local clock (textclock "%H\n%M"))
(local systray (doto (wibox.widget.systray)
(: :set_base_size 24)
(: :set_horizontal false)))
(local battery (require :widget.bat))
(local pulse (require :widget.pulse))
@ -51,11 +52,10 @@
;; 2 (task-list s)
:layout wibox.layout.fixed.vertical}
2 nil
3 {1 (center battery.widget)
2 (center pulse.widget)
;; 2 sb-systray
3 {1 (center systray)
2 (center battery.widget)
3 {1 (border
{1 {1 (center sb-clock)
{1 {1 (center clock)
:top 2
:bottom 2
:widget wibox.container.margin}