diff --git a/src/x11/tray_manager.cpp b/src/x11/tray_manager.cpp index d3501a4f..0a135ba5 100644 --- a/src/x11/tray_manager.cpp +++ b/src/x11/tray_manager.cpp @@ -70,8 +70,10 @@ void tray_manager::setup(const bar_settings& bar_opts) { m_opts.align = alignment::RIGHT; } else if (position == "center") { m_opts.align = alignment::CENTER; - } else { + } else if (position != "none") { return m_log.err("Disabling tray manager (reason: Invalid position \"" + position + "\")"); + } else { + return; } m_opts.detached = conf.get(bs, "tray-detached", false);