Fix paths
This commit is contained in:
parent
36593527ca
commit
cf32f4d439
|
@ -96,7 +96,7 @@ impl Monitor {
|
|||
&home,
|
||||
&base_dir,
|
||||
&path.to_str().unwrap(),
|
||||
&format!("{source_dir}/{relpath}"),
|
||||
&format!("{dest_dir}/{relpath}"),
|
||||
)?;
|
||||
} else if path.is_file() {
|
||||
let data = fs::read_to_string(&path)?;
|
||||
|
@ -137,7 +137,7 @@ fn main() -> Result<()> {
|
|||
.into_string().unwrap();
|
||||
|
||||
let monitors = Monitor::list()?;
|
||||
println!("{:?}", monitors);
|
||||
|
||||
for monitor in monitors {
|
||||
monitor.launch_bar(&wl_display, &home)?;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue