summaryrefslogtreecommitdiff
path: root/src/paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/paths.rs')
-rw-r--r--src/paths.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/paths.rs b/src/paths.rs
index 7bbc8f8..c52a84e 100644
--- a/src/paths.rs
+++ b/src/paths.rs
@@ -14,3 +14,11 @@ pub fn index_dir() -> Result<PathBuf> {
pub fn appimages_dir() -> Result<PathBuf> {
Ok(zap_rs_home()?.join("appimages"))
}
+
+pub fn desktops_dir() -> Result<PathBuf> {
+ Ok(zap_rs_home()?.join("desktops"))
+}
+
+pub fn icons_dir() -> Result<PathBuf> {
+ Ok(zap_rs_home()?.join("icons"))
+}