fix: tray-position should be optional

This commit is contained in:
Michael Carlberg 2016-11-12 13:14:08 +01:00
parent 23996fdcdc
commit 171e69bd30
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ void bar::bootstrap_tray() { // {{{
tray_settings settings;
auto bs = m_conf.bar_section();
auto tray_position = m_conf.get<string>(bs, "tray-position");
auto tray_position = m_conf.get<string>(bs, "tray-position", "");
if (tray_position == "left")
settings.align = alignment::LEFT;