oxwm

https://git.tonybtw.com/oxwm.git git://git.tonybtw.com/oxwm.git

Changed border to underline... its not a border.

Commit
af3820100bc695a7bf262a8943a468bc95c391b1
Parent
e9ab027
Author
tonybtw <tonybtw@tonybtw.com>
Date
2025-10-05 23:42:00

Diff

diff --git a/src/bar/bar.rs b/src/bar/bar.rs
index 64acd03..cb1c332 100644
--- a/src/bar/bar.rs
+++ b/src/bar/bar.rs
@@ -218,7 +218,7 @@ impl Bar {
 
                 connection.change_gc(
                     self.graphics_context,
-                    &ChangeGCAux::new().foreground(scheme.border),
+                    &ChangeGCAux::new().foreground(scheme.underline),
                 )?;
                 connection.poly_fill_rectangle(
                     self.window,
diff --git a/src/config.rs b/src/config.rs
index 6c2a317..6c19067 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -36,25 +36,25 @@ const YELLOW: u32 = 0xe0af68;
 pub struct ColorScheme {
     pub foreground: u32,
     pub background: u32,
-    pub border: u32,
+    pub underline: u32,
 }
 
 pub const SCHEME_NORMAL: ColorScheme = ColorScheme {
     foreground: GRAY_LIGHT,
     background: GRAY_DARK,
-    border: GRAY_MID,
+    underline: GRAY_MID,
 };
 
 pub const SCHEME_OCCUPIED: ColorScheme = ColorScheme {
     foreground: CYAN,
     background: GRAY_DARK,
-    border: CYAN,
+    underline: CYAN,
 };
 
 pub const SCHEME_SELECTED: ColorScheme = ColorScheme {
     foreground: CYAN,
     background: GRAY_DARK,
-    border: MAGENTA,
+    underline: MAGENTA,
 };
 
 // ========================================