mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
fix(tray): Drop warning
This commit is contained in:
parent
41f7f82bd0
commit
af5f129b76
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue