xdg: Reorder xdg home directories slightly
Moved pictures and videos back to home directory since they are, first, not part of a 'media' collection and, second, on a different share to my personal media assortment.
This commit is contained in:
parent
d2eec50d33
commit
e617d4ae1e
3 changed files with 10 additions and 7 deletions
|
@ -72,6 +72,6 @@ setxkbmap -option grp:alt_shift_toggle
|
||||||
# set a timeout of 500ms, if pressed longer it will ignore esc
|
# set a timeout of 500ms, if pressed longer it will ignore esc
|
||||||
type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape' -t 500
|
type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape' -t 500
|
||||||
|
|
||||||
type feh >/dev/null 2>&1 && exec feh --bg-scale ~/media/pictures/wall.jpg &
|
type feh >/dev/null 2>&1 && exec feh --bg-scale ~/pictures/wall.jpg &
|
||||||
type xss-lock >/dev/null 2>&1 && exec xss-lock &
|
type xss-lock >/dev/null 2>&1 && exec xss-lock &
|
||||||
type i3 >/dev/null 2>&1 && exec i3
|
type i3 >/dev/null 2>&1 && exec i3
|
||||||
|
|
|
@ -25,9 +25,9 @@ test "$XDG_DOCUMENTS_DIR" || export XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||||
test "$XDG_DOWNLOAD_DIR" || export XDG_DOWNLOAD_DIR="$HOME/downloads"
|
test "$XDG_DOWNLOAD_DIR" || export XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||||
test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects"
|
test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects"
|
||||||
|
|
||||||
export XDG_MUSIC_DIR="$HOME/media/music"
|
export XDG_MUSIC_DIR="$HOME/media/audio/music"
|
||||||
export XDG_PICTURES_DIR="$HOME/media/pictures"
|
export XDG_PICTURES_DIR="$HOME/pictures"
|
||||||
export XDG_VIDEOS_DIR="$HOME/media/videos"
|
export XDG_VIDEOS_DIR="$HOME/videos"
|
||||||
|
|
||||||
## Non-Standard additions
|
## Non-Standard additions
|
||||||
# non-standard, is added to path to enable execution of any files herein
|
# non-standard, is added to path to enable execution of any files herein
|
||||||
|
@ -58,8 +58,8 @@ xdg_isThere "$XDG_DOCUMENTS_DIR" || xdg_makeForUser "$XDG_DOCUMENTS_DIR"
|
||||||
xdg_isThere "$XDG_DOWNLOAD_DIR" || xdg_makeForUser "$XDG_DOWNLOAD_DIR"
|
xdg_isThere "$XDG_DOWNLOAD_DIR" || xdg_makeForUser "$XDG_DOWNLOAD_DIR"
|
||||||
xdg_isThere "$XDG_MUSIC_DIR" || xdg_makeForUser "$XDG_MUSIC_DIR"
|
xdg_isThere "$XDG_MUSIC_DIR" || xdg_makeForUser "$XDG_MUSIC_DIR"
|
||||||
xdg_isThere "$XDG_PICTURES_DIR" || xdg_makeForUser "$XDG_PICTURES_DIR"
|
xdg_isThere "$XDG_PICTURES_DIR" || xdg_makeForUser "$XDG_PICTURES_DIR"
|
||||||
xdg_isThere "$XDG_PROJECTS_DIR" || xdg_makeForUser "$XDG_PROJECTS_DIR"
|
|
||||||
xdg_isThere "$XDG_VIDEOS_DIR" || xdg_makeForUser "$XDG_VIDEOS_DIR"
|
xdg_isThere "$XDG_VIDEOS_DIR" || xdg_makeForUser "$XDG_VIDEOS_DIR"
|
||||||
|
xdg_isThere "$XDG_PROJECTS_DIR" || xdg_makeForUser "$XDG_PROJECTS_DIR"
|
||||||
|
|
||||||
unset -f xdg_isThere xdg_makeForUser
|
unset -f xdg_isThere xdg_makeForUser
|
||||||
|
|
||||||
|
|
|
@ -119,12 +119,15 @@ set findprg='fd %A --hidden --exclude .git --exclude node_modules'
|
||||||
mark h ~/
|
mark h ~/
|
||||||
mark d ~/downloads/
|
mark d ~/downloads/
|
||||||
mark p ~/projects/
|
mark p ~/projects/
|
||||||
mark i ~/media/pictures/
|
mark i ~/pictures/
|
||||||
mark v ~/media/videos/
|
mark v ~/videos/
|
||||||
|
mark a ~/media/audio/
|
||||||
mark n ~/documents/notes/
|
mark n ~/documents/notes/
|
||||||
mark N ~/Nextcloud/
|
mark N ~/Nextcloud/
|
||||||
mark l ~/documents/library/academia/pdf/
|
mark l ~/documents/library/academia/pdf/
|
||||||
mark t ~/.local/share/Trash/
|
mark t ~/.local/share/Trash/
|
||||||
|
mark M ~/media/
|
||||||
|
mark M /run/media/
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Commands {{{
|
" Commands {{{
|
||||||
|
|
Loading…
Reference in a new issue