Expand description
Rust wrapper for xrdb. Query the system’s xrdb or add new values to it. Can handle wildcards
resources.
use pino_xrdb::Xrdb;
fn main() {
let mut xrdb = Xrdb::new();
xrdb.read().unwrap();
if let Some(value) = xrdb.query("dwm", "color1") {
println!("dwm.color1 has value {}", value);
} else {
println!("dwm.color1 not found");
}
}Structs§
- Xrdb
- Xrdb database struct
Enums§
- Xrdb
Error - Error types for xrdb