From cf32f4d439a7e8615c177e676144944b97f528d4 Mon Sep 17 00:00:00 2001 From: Victor Timofei Date: Wed, 14 Jun 2023 15:34:46 +0300 Subject: [PATCH] Fix paths --- .config/eww/scripts/launch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/eww/scripts/launch.rs b/.config/eww/scripts/launch.rs index d9b9fdd..bc6feeb 100755 --- a/.config/eww/scripts/launch.rs +++ b/.config/eww/scripts/launch.rs @@ -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)?; }