Function first_by_class
Source pub fn first_by_class(class: &str) -> Option<Window>
Expand description
Get the first window that matches the given class
§Arguments
class - the class to match against
§Examples
ⓘuse libwmctl::prelude::*;
let win = libwmctl::first_by_class("firefox").unwrap();