style: fix spacing issues
This commit is contained in:
parent
0f81338bb6
commit
6da4df255c
@ -231,7 +231,8 @@ void Bar::setColorScheme(const ColorScheme& scheme, bool invert)
|
|||||||
}
|
}
|
||||||
static void setColor(cairo_t* painter, const Color& color)
|
static void setColor(cairo_t* painter, const Color& color)
|
||||||
{
|
{
|
||||||
cairo_set_source_rgba(painter, color.r/255.0, color.g/255.0, color.b/255.0, color.a/255.0);
|
cairo_set_source_rgba(painter,
|
||||||
|
color.r/255.0, color.g/255.0, color.b/255.0, color.a/255.0);
|
||||||
}
|
}
|
||||||
void Bar::beginFg() { setColor(_painter, _colorScheme.fg); }
|
void Bar::beginFg() { setColor(_painter, _colorScheme.fg); }
|
||||||
void Bar::beginBg() { setColor(_painter, _colorScheme.bg); }
|
void Bar::beginBg() { setColor(_painter, _colorScheme.bg); }
|
||||||
|
@ -34,7 +34,7 @@ public:
|
|||||||
resetBuffer();
|
resetBuffer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
template<typename Consumer>
|
template<typename Consumer>
|
||||||
void dispatchLines(const Consumer& consumer)
|
void dispatchLines(const Consumer& consumer)
|
||||||
{
|
{
|
||||||
|
@ -97,7 +97,7 @@ void tag(Monitor& m, const Arg& arg)
|
|||||||
}
|
}
|
||||||
void toggletag(Monitor& m, const Arg& arg)
|
void toggletag(Monitor& m, const Arg& arg)
|
||||||
{
|
{
|
||||||
znet_tapesoftware_dwl_wm_monitor_v1_set_client_tags(m.dwlMonitor.get(), 0xffffff, arg.ui);
|
znet_tapesoftware_dwl_wm_monitor_v1_set_client_tags(m.dwlMonitor.get(), ~0, arg.ui);
|
||||||
}
|
}
|
||||||
void spawn(Monitor&, const Arg& arg)
|
void spawn(Monitor&, const Arg& arg)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user