config: update user-dirs paths

This commit is contained in:
xeruf 2022-05-03 11:21:04 +02:00
parent abbc9f0efb
commit 11f307c4bd
5 changed files with 16 additions and 15 deletions

View File

@ -10,10 +10,10 @@ encrypt: false
highlight: true highlight: true
indent_character: '|' indent_character: '|'
journals: journals:
default: ~/data/2-standards/box/journal/jrnl.txt default: ~/data/2-box/journal/jrnl.txt
intentions: ~/data/2-standards/box/journal/intentions.txt intentions: ~/data/2-box/journal/intentions.txt
intentions-nug: ~/data/2-standards/box/journal/intentions-nug.txt intentions-nug: ~/data/2-box/journal/intentions-nug.txt
nug: ~/data/2-standards/box/journal/nugnug.txt nug: ~/data/2-box/journal/nugnug.txt
linewrap: 99 linewrap: 99
tagsymbols: '@' tagsymbols: '@'
template: false template: false

View File

@ -189,7 +189,7 @@ map U unselect
# Movement # Movement
map gtr cd ~/.local/share/Trash/files map gtr cd ~/.local/share/Trash/files
map gd cd $DATA/4-incubator/downloads #map gd cd $DATA/4-incubator/downloads
map gc cd ~/.config map gc cd ~/.config
map gl cd ~/.local map gl cd ~/.local
map gE cd /etc map gE cd /etc

View File

@ -19,10 +19,10 @@ gcn() {
if test $# -eq 0 || test -e "$1" if test $# -eq 0 || test -e "$1"
then then
fulldir="$(realpath ${1:-$PWD})" fulldir="$(realpath ${1:-$PWD})"
dir="${fulldir#$root/*/}" dir="${fulldir#$root/?-}"
else else
dir="box/$1" dir="box/$1"
fulldir="$root/2-standards/$dir" fulldir="$root/2-$dir"
fi fi
else else
fulldir="$(realpath ${1:-$PWD})" fulldir="$(realpath ${1:-$PWD})"

View File

@ -7,9 +7,10 @@
# #
XDG_DESKTOP_DIR="$HOME/.local/desktop" XDG_DESKTOP_DIR="$HOME/.local/desktop"
XDG_TEMPLATES_DIR="$HOME/.local/templates" XDG_TEMPLATES_DIR="$HOME/.local/templates"
XDG_DOWNLOAD_DIR="$HOME/data/4-incubator/downloads" XDG_DOWNLOAD_DIR="$HOME/data/5-incubator/downloads"
XDG_MUSIC_DIR="$HOME/data/music" XDG_MUSIC_DIR="$HOME/data/4-media/music"
XDG_PICTURES_DIR="$HOME/data/images" XDG_PICTURES_DIR="$HOME/data/4-media/images"
XDG_VIDEOS_DIR="$HOME/data/3-resources/multimedia" XDG_VIDEOS_DIR="$HOME/data/4-media/videos"
XDG_DOCUMENTS_DIR="$HOME/data/3-resources/multimedia" XDG_DOCUMENTS_DIR="$HOME/data/3-dox"
XDG_PUBLICSHARE_DIR="$HOME/data/3-resources/multimedia" XDG_NOTES_DIR="$HOME/data/2-box"
#XDG_PUBLICSHARE_DIR="$HOME/data/3-resources/multimedia"

View File

@ -1,5 +1,5 @@
export DATA="$(test -d $HOME/daten && echo $HOME/daten || echo $HOME/data)" export DATA="$(test -d $HOME/daten && echo $HOME/daten || echo $HOME/data)"
export MUSIC="$DATA/music" export MUSIC="$DATA/4-media/music"
export BORG_REPO="/mnt/backup/borg" export BORG_REPO="/mnt/backup/borg"
export BORG_PASSCOMMAND='pass service/devices/borg/backup' export BORG_PASSCOMMAND='pass service/devices/borg/backup'
@ -10,7 +10,7 @@ export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.local/cache" export XDG_CACHE_HOME="$HOME/.local/cache"
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export JOURNAL="$(eval "dirname $(grep -1 journals $XDG_CONFIG_HOME/jrnl/jrnl.yaml | tail -1 | cut -d':' -f2-)" || export JOURNAL="$(eval "dirname $(grep -1 journals $XDG_CONFIG_HOME/jrnl/jrnl.yaml | tail -1 | cut -d':' -f2-)" ||
echo "$DATA/2-standards/box/journal")" echo "$DATA/2-box/journal")"
export PATH="$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin:$GOPATH/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin" export PATH="$HOME/.local/bin/scripts:$HOME/.local/bin:$PATH:$XDG_CONFIG_HOME/emacs/bin:$GOPATH/bin:$XDG_DATA_HOME/gem/ruby/3.0.0/bin"
# adjust programs to use xdg # adjust programs to use xdg
export MNT=/run/media/$USER export MNT=/run/media/$USER