tony / oxwm

updates Browse files
tonybanters committed 2025-10-03 parent 2a9afc3 commit 6d4ea3d9b528369768f84535254463033deac734
Showing 2 changed files with 4 additions and 2 deletions. UnifiedSplit
+2 −1 src/bar/bar.rs
@@ -141,6 +141,7 @@ impl Bar {
141 141
142 142 if is_selected {
143 143 let underline_height = 2;
144 + let spacing_from_text = 3;
144 145 connection.change_gc(
145 146 self.graphics_context,
146 147 &ChangeGCAux::new().foreground(scheme.border),
@@ -150,7 +151,7 @@ impl Bar {
150 151 self.graphics_context,
151 152 &[Rectangle {
152 153 x: x_position,
153 - y: (self.height - underline_height) as i16,
154 + y: (self.height - underline_height - spacing_from_text) as i16,
154 155 width: tag_width,
155 156 height: underline_height,
156 157 }],
+2 −1 src/config.rs
@@ -27,6 +27,7 @@ const GRAY_MID: u32 = 0x444444;
27 27 const GRAY_LIGHT: u32 = 0xbbbbbb;
28 28 // const GRAY_LIGHTEST: u32 = 0xeeeeee;
29 29 const CYAN: u32 = 0x6dade3;
30 +const MAGENTA: u32 = 0xad8ee6;
30 31
31 32 pub struct ColorScheme {
32 33 pub foreground: u32,
@@ -49,7 +50,7 @@ pub const SCHEME_NORMAL: ColorScheme = ColorScheme {
49 50 pub const SCHEME_SELECTED: ColorScheme = ColorScheme {
50 51 foreground: CYAN,
51 52 background: GRAY_DARK,
52 - border: CYAN,
53 + border: MAGENTA,
53 54 };
54 55
55 56 // ========================================