From 5b4584f17a6d87115f61e6b35b9ff34ff2532820 Mon Sep 17 00:00:00 2001 From: xeals Date: Tue, 15 Jan 2019 17:24:06 +1100 Subject: [PATCH] fix: make systray behave as it should --- module/sidebar.fnl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/module/sidebar.fnl b/module/sidebar.fnl index faabb9d..27e833f 100644 --- a/module/sidebar.fnl +++ b/module/sidebar.fnl @@ -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}