all: split reusable components into workspace crates
This commit is contained in:
parent
2a079ed800
commit
657e7ce2f7
225 changed files with 7422 additions and 17602 deletions
5
utils/src/xrd.rs
Normal file
5
utils/src/xrd.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
pub const XRD: &str = "XDG_RUNTIME_DIR";
|
||||
|
||||
pub fn xrd() -> Option<String> {
|
||||
std::env::var(XRD).ok()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue