tony / oxwm

updated separators Browse files
tonybtw committed 2025-10-08 parent f6f83cb commit 303f7c23b69b0d88c8acc14ec438aca4053017bf
Showing 1 changed file with 25 additions and 24 deletions. UnifiedSplit
+25 −24 src/config.rs
@@ -9,7 +9,7 @@ use x11rb::protocol::xproto::KeyButMask;
9 9 pub const BORDER_WIDTH: u32 = 2;
10 10 pub const BORDER_FOCUSED: u32 = 0x6dade3;
11 11 pub const BORDER_UNFOCUSED: u32 = 0xbbbbbb;
12 -pub const FONT: &str = "JetBrainsMono Nerd Font:style=Bold:size=10";
12 +pub const FONT: &str = "JetBrainsMono Nerd Font:style=Bold:size=12";
13 13
14 14 // ========================================
15 15 // GAPS (Vanity Gaps)
@@ -32,7 +32,8 @@ pub const MODKEY: KeyButMask = KeyButMask::MOD4;
32 32 // ========================================
33 33
34 34 // Base colors
35 -const GRAY_DARK: u32 = 0x222222;
35 +const GRAY_DARK: u32 = 0x1a1b26;
36 +const GRAY_SEP: u32 = 0xa9b1d6;
36 37 const GRAY_MID: u32 = 0x444444;
37 38 const GRAY_LIGHT: u32 = 0xbbbbbb;
38 39 const CYAN: u32 = 0x0db9d7;
@@ -129,24 +130,24 @@ pub const KEYBINDINGS: &[Key] = &[
129 130 // STATUS BAR BLOCKS
130 131 // ========================================
131 132 pub const STATUS_BLOCKS: &[BlockConfig] = &[
132 - // BlockConfig {
133 - // format: "",
134 - // command: BlockCommand::Battery {
135 - // format_charging: "󰂄 Bat: {}%",
136 - // format_discharging: "󰁹 Bat:{}%",
137 - // format_full: "󰁹 Bat: {}%",
138 - // },
139 - // interval_secs: 30,
140 - // color: BLUE,
141 - // underline: true,
142 - // },
143 - // BlockConfig {
144 - // format: " | ",
145 - // command: BlockCommand::Static(""),
146 - // interval_secs: u64::MAX,
147 - // color: GRAY_LIGHT,
148 - // underline: false,
149 - // },
133 + BlockConfig {
134 + format: "",
135 + command: BlockCommand::Battery {
136 + format_charging: "󰂄 Bat: {}%",
137 + format_discharging: "󰁹 Bat:{}%",
138 + format_full: "󰁹 Bat: {}%",
139 + },
140 + interval_secs: 30,
141 + color: GREEN,
142 + underline: true,
143 + },
144 + BlockConfig {
145 + format: " │ ",
146 + command: BlockCommand::Static(""),
147 + interval_secs: u64::MAX,
148 + color: GRAY_SEP,
149 + underline: false,
150 + },
150 151 BlockConfig {
151 152 format: "󰍛 {used}/{total} GB",
152 153 command: BlockCommand::Ram,
@@ -155,10 +156,10 @@ pub const STATUS_BLOCKS: &[BlockConfig] = &[
155 156 underline: true,
156 157 },
157 158 BlockConfig {
158 - format: " | ",
159 + format: " │ ",
159 160 command: BlockCommand::Static(""),
160 161 interval_secs: u64::MAX,
161 - color: GRAY_LIGHT,
162 + color: GRAY_SEP,
162 163 underline: false,
163 164 },
164 165 BlockConfig {
@@ -169,10 +170,10 @@ pub const STATUS_BLOCKS: &[BlockConfig] = &[
169 170 underline: true,
170 171 },
171 172 BlockConfig {
172 - format: " | ",
173 + format: " │ ",
173 174 command: BlockCommand::Static(""),
174 175 interval_secs: u64::MAX,
175 - color: GRAY_LIGHT,
176 + color: GRAY_SEP,
176 177 underline: false,
177 178 },
178 179 BlockConfig {