Function penrose::draw::dwm_bar [−][src]
pub fn dwm_bar<C, D, X>(
drw: D,
height: usize,
style: &TextStyle,
highlight: impl Into<Color>,
empty_ws: impl Into<Color>,
workspaces: Vec<impl Into<String>>
) -> Result<StatusBar<C, D, X>> where
C: DrawContext + 'static,
D: Draw<Ctx = C>,
X: XConn,
Expand description
Create a default dwm style status bar that displays content pulled from the WM_NAME property of the root window.