summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-17 03:07:07 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-17 03:07:07 -0700
commit5ac5686ee76f9d62ecded58006bd4a2f5a08fc46 (patch)
treeb045e66a4e5f111c4e80cbc7da6c06fbe2cb7ad3
parent2e74779e837d376e5524487ffa036579e50864b8 (diff)
Add xdg user directories support
-rw-r--r--.config/i3/config2
-rw-r--r--.config/user-dirs.dirs15
2 files changed, 17 insertions, 0 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 90207a8..97dfbd4 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -244,6 +244,7 @@ client.background $c15
bindsym l resize grow width 1 px or 1 ppt
bindsym Shift+l resize grow width 5 px or 5 ppt
bindsym Ctrl+l resize grow width 10 px or 10 ppt
+
# Gaps resizing.
bindsym plus gaps outer current plus 1
bindsym Shift+plus gaps inner current plus 1
@@ -251,6 +252,7 @@ client.background $c15
bindsym Shift+minus gaps inner current minus 1
bindsym g gaps inner all set $gi, gaps outer all set $go
bindsym Shift+g gaps inner all set 0, gaps outer all set 0
+
# Return to default mode keybindings.
bindsym Return mode "default"
bindsym Escape mode "default"
diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs
new file mode 100644
index 0000000..bb32284
--- /dev/null
+++ b/.config/user-dirs.dirs
@@ -0,0 +1,15 @@
+# This file is written by xdg-user-dirs-update
+# If you want to change or add directories, just edit the line you're
+# interested in. All local changes will be retained on the next run.
+# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
+# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
+# absolute path. No other format is supported.
+
+XDG_DESKTOP_DIR="$HOME/dex"
+XDG_DOCUMENTS_DIR="$HOME/dox"
+XDG_DOWNLOAD_DIR="$HOME/dow"
+XDG_MUSIC_DIR="$HOME/mus"
+XDG_PICTURES_DIR="$HOME/pix"
+XDG_PUBLICSHARE_DIR="$HOME/pub"
+XDG_TEMPLATES_DIR="$HOME/plt"
+XDG_VIDEOS_DIR="$HOME/vid"