From 2178eb0a743607fade9e4a5b3bf41990a5983d11 Mon Sep 17 00:00:00 2001 From: jullang Date: Sun, 3 Nov 2024 13:15:30 +0100 Subject: [PATCH] fix missing / in WAYLAND_SOCKET --- pacwrap-core/src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacwrap-core/src/constants.rs b/pacwrap-core/src/constants.rs index 94a4070..3f9be0c 100644 --- a/pacwrap-core/src/constants.rs +++ b/pacwrap-core/src/constants.rs @@ -81,7 +81,7 @@ lazy_static! { pub static ref CONFIG_FILE: &'static str = format_str!("{}/pacwrap.yml", *CONFIG_DIR); pub static ref XDG_RUNTIME_DIR: String = format!("/run/user/{}", *UID); pub static ref DBUS_SOCKET: String = format!("/run/user/{}/pacwrap_dbus_{}", *UID, &id()); - pub static ref WAYLAND_SOCKET: String = format!("{}{}", *XDG_RUNTIME_DIR, *WAYLAND_DISPLAY); + pub static ref WAYLAND_SOCKET: String = format!("{}/{}", *XDG_RUNTIME_DIR, *WAYLAND_DISPLAY); pub static ref LOG_LOCATION: &'static str = format_str!("{}/pacwrap.log", *DATA_DIR); pub static ref UNIX_TIMESTAMP: u64 = unix_epoch_time().as_secs(); pub static ref IS_COLOR_TERMINAL: bool = is_color_terminal();