blob: f52d36d39413c020e66a33fac4978b730473dc5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use plymouth::Plymouthd;
use plymouth::Theme;
fn main() {
let config = Plymouthd::default().expect("could not load default config file");
println!("current theme is {:?}", config.current_theme());
if let Some(name) = config.current_theme() {
let theme = Theme::from_name(name).expect("could not load current theme");
println!("theme details: {:?}", theme);
}
}
|