aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-08-02 18:42:05 +0200
committerVaxry <[email protected]>2024-08-02 18:42:10 +0200
commit1fa4b7d79baaad47fde8e72221cd77f569fbfe35 (patch)
treea43ecd4fd43de6117b75003aba69d9e2679f037b
parent592b4a709c8093273c6051fb7e76ce3c3d82cedf (diff)
downloadHyprland-1fa4b7d79baaad47fde8e72221cd77f569fbfe35.tar.gz
Hyprland-1fa4b7d79baaad47fde8e72221cd77f569fbfe35.zip
hyprerror: minor stylistic changes
-rw-r--r--src/hyprerror/HyprError.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp
index a325d858..bbc3a006 100644
--- a/src/hyprerror/HyprError.cpp
+++ b/src/hyprerror/HyprError.cpp
@@ -88,14 +88,14 @@ void CHyprError::createQueued() {
cairo_arc(CAIRO, X + RADIUS, Y + RADIUS, RADIUS, 180 * DEGREES, 270 * DEGREES);
cairo_close_path(CAIRO);
- cairo_set_source_rgba(CAIRO, m_cQueued.r, m_cQueued.g, m_cQueued.b, m_cQueued.a);
+ cairo_set_source_rgba(CAIRO, 0.06, 0.06, 0.06, 1.0);
cairo_fill_preserve(CAIRO);
- cairo_set_source_rgba(CAIRO, 0, 0, 0, 1);
+ cairo_set_source_rgba(CAIRO, m_cQueued.r, m_cQueued.g, m_cQueued.b, m_cQueued.a);
cairo_set_line_width(CAIRO, 2);
cairo_stroke(CAIRO);
// draw the text with a common font
- const CColor textColor = m_cQueued.r + m_cQueued.g + m_cQueued.b < 0.2f ? CColor(1.0, 1.0, 1.0, 1.0) : CColor(0, 0, 0, 1.0);
+ const CColor textColor = CColor(0.9, 0.9, 0.9, 1.0);
cairo_set_source_rgba(CAIRO, textColor.r, textColor.g, textColor.b, textColor.a);
static auto fontFamily = CConfigValue<std::string>("misc:font_family");