From 19173a98b312f073796a83ca266c8cb93f325446 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Thu, 22 Jun 2023 22:05:52 +0200 Subject: [PATCH] fix: point to correct ipc socket for wivrn (#33) --- src/profile.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/profile.rs b/src/profile.rs index f8429fc..532bb33 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -47,12 +47,16 @@ impl Profile { other => other, }, runtime = match self.xrservice_type { - XRServiceType::Wivrn => "wivrn", XRServiceType::Monado => "monado", + XRServiceType::Wivrn => "wivrn", } )); opts.push(format!( - "PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/monado_comp_ipc" + "PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/{xrservice}_comp_ipc", + xrservice = match self.xrservice_type { + XRServiceType::Monado => "monado", + XRServiceType::Wivrn => "wivrn", + } )); opts.push("%command%".into()); opts.join(" ")