diff --git a/src/components/bar.cpp b/src/components/bar.cpp index 859509dd..6ca8fb0d 100644 --- a/src/components/bar.cpp +++ b/src/components/bar.cpp @@ -189,7 +189,7 @@ void bar::bootstrap_tray() { // {{{ tray_settings settings; auto bs = m_conf.bar_section(); - auto tray_position = m_conf.get(bs, "tray-position"); + auto tray_position = m_conf.get(bs, "tray-position", ""); if (tray_position == "left") settings.align = alignment::LEFT;