diff --git a/src/components/bar.cpp b/src/components/bar.cpp index 6dff1795..9f4ec453 100644 --- a/src/components/bar.cpp +++ b/src/components/bar.cpp @@ -138,7 +138,7 @@ bar::bar(connection& conn, signal_emitter& emitter, const config& config, const m_opts.radius = m_conf.get(bs, "radius", m_opts.radius); try { - auto padding = m_conf.get(bs, "module-padding"); + auto padding = m_conf.get(bs, "padding"); m_opts.padding.left = padding; m_opts.padding.right = padding; } catch (const key_error& err) {