oxwm

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

fixed bar

Commit
597aa859a80e21d7a0cc0c8eacb73da730ff9ca5
Parent
a87ffc0
Author
tonybanters <tonybanters@gmail.com>
Date
2025-10-03 20:20:43

Diff

diff --git a/src/bar/bar.rs b/src/bar/bar.rs
index dfe27e5..4de417b 100644
--- a/src/bar/bar.rs
+++ b/src/bar/bar.rs
@@ -33,7 +33,7 @@ impl Bar {
         }
         let font = Font::new(display, screen_num as i32, FONT)?;
 
-        let height = (font.height() as f32 * 1.8) as u16;
+        let height = (font.height() as f32 * 1.25) as u16;
 
         connection.create_window(
             COPY_DEPTH_FROM_PARENT,
diff --git a/src/config.rs b/src/config.rs
index 123e452..d43dc97 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -8,7 +8,7 @@ use x11rb::protocol::xproto::KeyButMask;
 pub const BORDER_WIDTH: u32 = 1;
 pub const BORDER_FOCUSED: u32 = 0x6dade3;
 pub const BORDER_UNFOCUSED: u32 = 0xbbbbbb;
-pub const FONT: &str = "JetBrainsMono Nerd Font:size=12";
+pub const FONT: &str = "JetBrainsMono Nerd Font:style=Bold:size=12";
 
 // ========================================
 // DEFAULTS