mirror of
https://github.com/polybar/polybar.git
synced 2026-04-28 18:33:33 +00:00
refactor(config): Deduce return type from default value
This commit is contained in:
@ -22,7 +22,7 @@ namespace modules {
|
||||
* setting up required components
|
||||
*/
|
||||
fs_module::fs_module(const bar_settings& bar, string name_) : timer_module<fs_module>(bar, move(name_)) {
|
||||
m_mountpoints = m_conf.get_list<string>(name(), "mount");
|
||||
m_mountpoints = m_conf.get_list(name(), "mount");
|
||||
m_remove_unmounted = m_conf.get(name(), "remove-unmounted", m_remove_unmounted);
|
||||
m_fixed = m_conf.get(name(), "fixed-values", m_fixed);
|
||||
m_spacing = m_conf.get(name(), "spacing", m_spacing);
|
||||
|
||||
Reference in New Issue
Block a user