tony / oxwm

Changed border to underline... its not a border. Browse files
tonybtw committed 2025-10-05 parent e9ab027 commit af3820100bc695a7bf262a8943a468bc95c391b1
Showing 2 changed files with 5 additions and 5 deletions. UnifiedSplit
+1 −1 src/bar/bar.rs
@@ -218,7 +218,7 @@ impl Bar {
218 218
219 219 connection.change_gc(
220 220 self.graphics_context,
221 - &ChangeGCAux::new().foreground(scheme.border),
221 + &ChangeGCAux::new().foreground(scheme.underline),
222 222 )?;
223 223 connection.poly_fill_rectangle(
224 224 self.window,
+4 −4 src/config.rs
@@ -36,25 +36,25 @@ const YELLOW: u32 = 0xe0af68;
36 36 pub struct ColorScheme {
37 37 pub foreground: u32,
38 38 pub background: u32,
39 - pub border: u32,
39 + pub underline: u32,
40 40 }
41 41
42 42 pub const SCHEME_NORMAL: ColorScheme = ColorScheme {
43 43 foreground: GRAY_LIGHT,
44 44 background: GRAY_DARK,
45 - border: GRAY_MID,
45 + underline: GRAY_MID,
46 46 };
47 47
48 48 pub const SCHEME_OCCUPIED: ColorScheme = ColorScheme {
49 49 foreground: CYAN,
50 50 background: GRAY_DARK,
51 - border: CYAN,
51 + underline: CYAN,
52 52 };
53 53
54 54 pub const SCHEME_SELECTED: ColorScheme = ColorScheme {
55 55 foreground: CYAN,
56 56 background: GRAY_DARK,
57 - border: MAGENTA,
57 + underline: MAGENTA,
58 58 };
59 59
60 60 // ========================================