From 5ac5686ee76f9d62ecded58006bd4a2f5a08fc46 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Thu, 17 Dec 2020 03:07:07 -0700 Subject: Add xdg user directories support --- .config/i3/config | 2 ++ .config/user-dirs.dirs | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .config/user-dirs.dirs 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" -- cgit v1.2.3-54-g00ecf