tony / oxwm

updating padding Browse files
tonybanters committed 2025-10-03 parent 91a4a5a commit ff60f367bbc55a1d19e001634ea606ffb5ecd842
Showing 2 changed files with 2 additions and 2 deletions. UnifiedSplit
+1 −1 src/bar/bar.rs
@@ -68,7 +68,7 @@ impl Bar {
68 68
69 let font_draw = FontDraw::new(display, window as x11::xlib::Drawable, visual, colormap)?; 69 let font_draw = FontDraw::new(display, window as x11::xlib::Drawable, visual, colormap)?;
70 70
71 - let tag_widths = TAGS.iter().map(|tag| font.text_width(tag) + 10).collect(); 71 + let tag_widths = TAGS.iter().map(|tag| font.text_width(tag) + 20).collect();
72 72
73 Ok(Bar { 73 Ok(Bar {
74 window, 74 window,
+1 −1 src/config.rs
@@ -9,7 +9,7 @@ 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 BAR_HEIGHT: u16 = 32; 11 pub const BAR_HEIGHT: u16 = 32;
12 -pub const FONT: &str = "JetBrainsMono Nerd Font:size=16"; 12 +pub const FONT: &str = "JetBrainsMono Nerd Font:size=12";
13 13
14 // ======================================== 14 // ========================================
15 // DEFAULTS 15 // DEFAULTS