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 pub const BORDER_WIDTH: u32 = 2; 9 pub const BORDER_WIDTH: u32 = 2;
10 pub const BORDER_FOCUSED: u32 = 0x6dade3; 10 pub const BORDER_FOCUSED: u32 = 0x6dade3;
11 pub const BORDER_UNFOCUSED: u32 = 0xbbbbbb; 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 // GAPS (Vanity Gaps) 15 // GAPS (Vanity Gaps)
@@ -32,7 +32,8 @@ pub const MODKEY: KeyButMask = KeyButMask::MOD4;
32 // ======================================== 32 // ========================================
33 33
34 // Base colors 34 // Base colors
35 -const GRAY_DARK: u32 = 0x222222; 35 +const GRAY_DARK: u32 = 0x1a1b26;
36 +const GRAY_SEP: u32 = 0xa9b1d6;
36 const GRAY_MID: u32 = 0x444444; 37 const GRAY_MID: u32 = 0x444444;
37 const GRAY_LIGHT: u32 = 0xbbbbbb; 38 const GRAY_LIGHT: u32 = 0xbbbbbb;
38 const CYAN: u32 = 0x0db9d7; 39 const CYAN: u32 = 0x0db9d7;
@@ -129,24 +130,24 @@ pub const KEYBINDINGS: &[Key] = &[
129 // STATUS BAR BLOCKS 130 // STATUS BAR BLOCKS
130 // ======================================== 131 // ========================================
131 pub const STATUS_BLOCKS: &[BlockConfig] = &[ 132 pub const STATUS_BLOCKS: &[BlockConfig] = &[
132 - // BlockConfig { 133 + BlockConfig {
133 - // format: "", 134 + format: "",
134 - // command: BlockCommand::Battery { 135 + command: BlockCommand::Battery {
135 - // format_charging: "󰂄 Bat: {}%", 136 + format_charging: "󰂄 Bat: {}%",
136 - // format_discharging: "󰁹 Bat:{}%", 137 + format_discharging: "󰁹 Bat:{}%",
137 - // format_full: "󰁹 Bat: {}%", 138 + format_full: "󰁹 Bat: {}%",
138 - // }, 139 + },
139 - // interval_secs: 30, 140 + interval_secs: 30,
140 - // color: BLUE, 141 + color: GREEN,
141 - // underline: true, 142 + underline: true,
142 - // }, 143 + },
143 - // BlockConfig { 144 + BlockConfig {
144 - // format: " | ", 145 + format: " │ ",
145 - // command: BlockCommand::Static(""), 146 + command: BlockCommand::Static(""),
146 - // interval_secs: u64::MAX, 147 + interval_secs: u64::MAX,
147 - // color: GRAY_LIGHT, 148 + color: GRAY_SEP,
148 - // underline: false, 149 + underline: false,
149 - // }, 150 + },
150 BlockConfig { 151 BlockConfig {
151 format: "󰍛 {used}/{total} GB", 152 format: "󰍛 {used}/{total} GB",
152 command: BlockCommand::Ram, 153 command: BlockCommand::Ram,
@@ -155,10 +156,10 @@ pub const STATUS_BLOCKS: &[BlockConfig] = &[
155 underline: true, 156 underline: true,
156 }, 157 },
157 BlockConfig { 158 BlockConfig {
158 - format: " | ", 159 + format: " │ ",
159 command: BlockCommand::Static(""), 160 command: BlockCommand::Static(""),
160 interval_secs: u64::MAX, 161 interval_secs: u64::MAX,
161 - color: GRAY_LIGHT, 162 + color: GRAY_SEP,
162 underline: false, 163 underline: false,
163 }, 164 },
164 BlockConfig { 165 BlockConfig {
@@ -169,10 +170,10 @@ pub const STATUS_BLOCKS: &[BlockConfig] = &[
169 underline: true, 170 underline: true,
170 }, 171 },
171 BlockConfig { 172 BlockConfig {
172 - format: " | ", 173 + format: " │ ",
173 command: BlockCommand::Static(""), 174 command: BlockCommand::Static(""),
174 interval_secs: u64::MAX, 175 interval_secs: u64::MAX,
175 - color: GRAY_LIGHT, 176 + color: GRAY_SEP,
176 underline: false, 177 underline: false,
177 }, 178 },
178 BlockConfig { 179 BlockConfig {