tray: Remove option TODOs

They are noted in #2689
This commit is contained in:
patrick96 2023-03-25 19:18:34 +01:00
parent ac589b32dd
commit 3e3a380069
No known key found for this signature in database
GPG Key ID: 521E5E03AEBCA1A7

View File

@ -65,15 +65,12 @@ void manager::setup(const config& conf, const string& section_name) {
} }
// Apply user-defined scaling // Apply user-defined scaling
// TODO maybe remove
auto scale = conf.get(section_name, "tray-scale", 1.0); auto scale = conf.get(section_name, "tray-scale", 1.0);
client_height *= scale; client_height *= scale;
m_opts.client_size = {client_height, client_height}; m_opts.client_size = {client_height, client_height};
// Set user-defined foreground and background colors. // Set user-defined foreground and background colors.
// TODO maybe remove
// TODO only run background manager, etc. when the background has transparency.
m_opts.background = conf.get(section_name, "tray-background", m_bar_opts.background); m_opts.background = conf.get(section_name, "tray-background", m_bar_opts.background);
m_opts.foreground = conf.get(section_name, "tray-foreground", m_bar_opts.foreground); m_opts.foreground = conf.get(section_name, "tray-foreground", m_bar_opts.foreground);