about summary refs log tree commit diff
path: root/xdg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xdg/.local/etc/user-dirs.conf2
-rw-r--r--xdg/.local/etc/user-dirs.dirs12
-rw-r--r--xdg/.local/etc/user-dirs.locale1
-rwxr-xr-xxdg/@install10
4 files changed, 25 insertions, 0 deletions
diff --git a/xdg/.local/etc/user-dirs.conf b/xdg/.local/etc/user-dirs.conf
new file mode 100644
index 0000000..24be7cf
--- /dev/null
+++ b/xdg/.local/etc/user-dirs.conf
@@ -0,0 +1,2 @@
+enabled=True
+filename_encoding=UTF-8
diff --git a/xdg/.local/etc/user-dirs.dirs b/xdg/.local/etc/user-dirs.dirs
new file mode 100644
index 0000000..9dd2a0a
--- /dev/null
+++ b/xdg/.local/etc/user-dirs.dirs
@@ -0,0 +1,12 @@
+XDG_CACHE_HOME="/tmp/.private/$USER/cache"
+XDG_CONFIG_HOME="$HOME/.etc"
+XDG_DATA_HOME="$HOME/.var/lib"
+XDG_DESKTOP_DIR="$HOME/tmp"
+XDG_DOCUMENTS_DIR="$HOME/doc"
+XDG_DOWNLOAD_DIR="$HOME/tmp"
+XDG_MUSIC_DIR="$HOME/music"
+XDG_PICTURES_DIR="$HOME/pic"
+XDG_PUBLICSHARE_DIR="$HOME/tmp"
+XDG_RUNTIME_DIR="$HOME/.var/run"
+XDG_TEMPLATES_DIR="$HOME/tmp"
+XDG_VIDEOS_DIR="$HOME/vid"
diff --git a/xdg/.local/etc/user-dirs.locale b/xdg/.local/etc/user-dirs.locale
new file mode 100644
index 0000000..3e0b419
--- /dev/null
+++ b/xdg/.local/etc/user-dirs.locale
@@ -0,0 +1 @@
+en_US
\ No newline at end of file
diff --git a/xdg/@install b/xdg/@install
new file mode 100755
index 0000000..15d2b98
--- /dev/null
+++ b/xdg/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    xdg

Consider giving Nix/NixOS a try! <3