Diff
diff --git a/src/bar/font.rs b/src/bar/font.rs
index 7851139..f93ffe8 100644
--- a/src/bar/font.rs
+++ b/src/bar/font.rs
@@ -1,6 +1,5 @@
use anyhow::Result;
use std::ffi::CString;
-use std::ptr;
use x11::xft::{XftColor, XftDraw, XftDrawStringUtf8, XftFont, XftFontOpenName};
use x11::xlib::{Colormap, Display, Drawable, Visual};
use x11::xrender::XRenderColor;
@@ -47,7 +46,7 @@ impl Font {
text.len() as i32,
&mut extents,
);
- extents.width as u16
+ extents.width
}
}
}
diff --git a/src/config.rs b/src/config.rs
index d43dc97..38ad5d9 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -24,7 +24,6 @@ pub const MODKEY: KeyButMask = KeyButMask::MOD1;
const GRAY_DARK: u32 = 0x222222;
const GRAY_MID: u32 = 0x444444;
const GRAY_LIGHT: u32 = 0xbbbbbb;
-// const GRAY_LIGHTEST: u32 = 0xeeeeee;
const CYAN: u32 = 0x6dade3;
const MAGENTA: u32 = 0xad8ee6;