From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- xdg/.local/etc/user-dirs.conf | 2 ++ xdg/.local/etc/user-dirs.dirs | 12 ++++++++++++ xdg/.local/etc/user-dirs.locale | 1 + xdg/@install | 10 ++++++++++ 4 files changed, 25 insertions(+) create mode 100644 xdg/.local/etc/user-dirs.conf create mode 100644 xdg/.local/etc/user-dirs.dirs create mode 100644 xdg/.local/etc/user-dirs.locale create mode 100755 xdg/@install (limited to 'xdg') 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 -- cgit 1.4.1