tony / oxwm

fixed bar Browse files
tonybanters committed 2025-10-03 parent a87ffc0 commit 597aa859a80e21d7a0cc0c8eacb73da730ff9ca5
Showing 2 changed files with 2 additions and 2 deletions. UnifiedSplit
+1 −1 src/bar/bar.rs
@@ -33,7 +33,7 @@ impl Bar {
33 } 33 }
34 let font = Font::new(display, screen_num as i32, FONT)?; 34 let font = Font::new(display, screen_num as i32, FONT)?;
35 35
36 - let height = (font.height() as f32 * 1.8) as u16; 36 + let height = (font.height() as f32 * 1.25) as u16;
37 37
38 connection.create_window( 38 connection.create_window(
39 COPY_DEPTH_FROM_PARENT, 39 COPY_DEPTH_FROM_PARENT,
+1 −1 src/config.rs
@@ -8,7 +8,7 @@ use x11rb::protocol::xproto::KeyButMask;
8 pub const BORDER_WIDTH: u32 = 1; 8 pub const BORDER_WIDTH: u32 = 1;
9 pub const BORDER_FOCUSED: u32 = 0x6dade3; 9 pub const BORDER_FOCUSED: u32 = 0x6dade3;
10 pub const BORDER_UNFOCUSED: u32 = 0xbbbbbb; 10 pub const BORDER_UNFOCUSED: u32 = 0xbbbbbb;
11 -pub const FONT: &str = "JetBrainsMono Nerd Font:size=12"; 11 +pub const FONT: &str = "JetBrainsMono Nerd Font:style=Bold:size=12";
12 12
13 // ======================================== 13 // ========================================
14 // DEFAULTS 14 // DEFAULTS