Fix paths

This commit is contained in:
Victor Timofei 2023-06-14 15:34:46 +03:00
parent 36593527ca
commit cf32f4d439
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 2 additions and 2 deletions

View File

@ -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)?;
}