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