Merge pull request #4 from jullanggit/master
All checks were successful
Build / Check format (push) Successful in 48s
Build / Lint pacwrap (push) Successful in 1m16s
Build / Build pacwrap (push) Successful in 1m33s

Fix missing / in WAYLAND_SOCKET
This commit is contained in:
Xavier Moffett 2024-11-06 00:32:03 +00:00 committed by GitHub
commit 45c349aa6e
Signed by: GitHub
GPG key ID: B5690EEEBB952194

View file

@ -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();