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 if is_selected { 142 if is_selected {
143 let underline_height = 2; 143 let underline_height = 2;
144 + let spacing_from_text = 3;
144 connection.change_gc( 145 connection.change_gc(
145 self.graphics_context, 146 self.graphics_context,
146 &ChangeGCAux::new().foreground(scheme.border), 147 &ChangeGCAux::new().foreground(scheme.border),
@@ -150,7 +151,7 @@ impl Bar {
150 self.graphics_context, 151 self.graphics_context,
151 &[Rectangle { 152 &[Rectangle {
152 x: x_position, 153 x: x_position,
153 - y: (self.height - underline_height) as i16, 154 + y: (self.height - underline_height - spacing_from_text) as i16,
154 width: tag_width, 155 width: tag_width,
155 height: underline_height, 156 height: underline_height,
156 }], 157 }],
+2 −1 src/config.rs
@@ -27,6 +27,7 @@ const GRAY_MID: u32 = 0x444444;
27 const GRAY_LIGHT: u32 = 0xbbbbbb; 27 const GRAY_LIGHT: u32 = 0xbbbbbb;
28 // const GRAY_LIGHTEST: u32 = 0xeeeeee; 28 // const GRAY_LIGHTEST: u32 = 0xeeeeee;
29 const CYAN: u32 = 0x6dade3; 29 const CYAN: u32 = 0x6dade3;
30 +const MAGENTA: u32 = 0xad8ee6;
30 31
31 pub struct ColorScheme { 32 pub struct ColorScheme {
32 pub foreground: u32, 33 pub foreground: u32,
@@ -49,7 +50,7 @@ pub const SCHEME_NORMAL: ColorScheme = ColorScheme {
49 pub const SCHEME_SELECTED: ColorScheme = ColorScheme { 50 pub const SCHEME_SELECTED: ColorScheme = ColorScheme {
50 foreground: CYAN, 51 foreground: CYAN,
51 background: GRAY_DARK, 52 background: GRAY_DARK,
52 - border: CYAN, 53 + border: MAGENTA,
53 }; 54 };
54 55
55 // ======================================== 56 // ========================================