aboutsummaryrefslogtreecommitdiff
path: root/karlcommon/src
diff options
context:
space:
mode:
authormetamuffin <yvchraiqi@protonmail.com>2022-08-16 16:11:57 +0200
committermetamuffin <yvchraiqi@protonmail.com>2022-08-16 16:11:57 +0200
commitea35ce0e6848c1224fa4c1cff424480a2996b49a (patch)
treee98781327e7f1dc0ae0eb6397b5aeb51e9bfa52e /karlcommon/src
parent0c12d22f53865fadf7f6eb17b44396663ddbf0e0 (diff)
downloadkarlender-ea35ce0e6848c1224fa4c1cff424480a2996b49a.tar
karlender-ea35ce0e6848c1224fa4c1cff424480a2996b49a.tar.bz2
karlender-ea35ce0e6848c1224fa4c1cff424480a2996b49a.tar.zst
lets make a gui anyway
Diffstat (limited to 'karlcommon/src')
-rw-r--r--karlcommon/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/karlcommon/src/lib.rs b/karlcommon/src/lib.rs
index f5e0798..173beba 100644
--- a/karlcommon/src/lib.rs
+++ b/karlcommon/src/lib.rs
@@ -1,11 +1,11 @@
pub mod protocol;
+pub use protocol::*;
+
use std::{
os::unix::prelude::MetadataExt,
path::{Path, PathBuf},
};
-pub use protocol::*;
-
pub fn socket_path() -> PathBuf {
std::env::var("XDG_RUNTIME_DIR")
.map(|p| Path::new(p.as_str()).to_path_buf())