diff options
| author | Max Verevkin <maxxverrr@gmail.com> | 2022-04-10 11:16:25 +0300 |
|---|---|---|
| committer | Max Verevkin <maxxverrr@gmail.com> | 2022-04-10 11:23:51 +0300 |
| commit | dcc20f7aca51a4ca1f47c15730a1c9e9d8dfdfc7 (patch) | |
| tree | eb3e94e385fec28145916ba8f98fe543a32864d0 /src/config.rs | |
| parent | f127f935fc47826d2d3e687a4ad2b3449a370b5f (diff) | |
| download | i3bar-mango-dcc20f7aca51a4ca1f47c15730a1c9e9d8dfdfc7.tar.gz | |
rounded corners
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index 21ef9a2..66b8c8a 100644 --- a/src/config.rs +++ b/src/config.rs @@ -23,14 +23,18 @@ pub struct Config { // font and size pub font: Font, pub height: u32, + pub separator_width: f64, + pub tags_r: f64, + pub blocks_r: f64, + pub blocks_overlap: f64, // command pub command: Option<String>, } impl Default for Config { fn default() -> Self { - // A kind of gruvbox theme Self { + // A kind of gruvbox theme background: Color::from_rgba_hex(0x282828ff), color: Color::from_rgba_hex(0xffffffff), separator: Color::from_rgba_hex(0x9a8a62ff), @@ -42,6 +46,10 @@ impl Default for Config { tag_urgent_bg: Color::from_rgba_hex(0xcc241dff), font: Font::new("monospace 10"), height: 24, + separator_width: 2.0, + tags_r: 0.0, + blocks_r: 0.0, + blocks_overlap: 0.0, command: None, } } |
