Move XDG directories

Three letters is all I need
This commit is contained in:
M1dgard 2018-07-12 12:53:26 +02:00
parent de9f2f2ca3
commit 8a5e086361
Signed by untrusted user who does not match committer: midgard
GPG Key ID: 511C112F1331BBB4
4 changed files with 19 additions and 3 deletions

View File

@ -94,7 +94,7 @@ bindsym $mod+space exec --no-startup-id "$launcher"
#bindsym $mod+Shift+space exec --no-startup-id rofi -show window
# lock the screen
bindsym Mod1+l exec --no-startup-id i3lock --image="$HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png" || notify-send -u normal -i lock -a i3 "Failed to lock screen" "i3lock had a non-zero exit code."
bindsym Mod1+l exec --no-startup-id i3lock --image="$HOME/img/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png" || notify-send -u normal -i lock -a i3 "Failed to lock screen" "i3lock had a non-zero exit code."
# start a terminal
bindsym $mod+Return exec $term
@ -404,7 +404,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id unclutter -idle 3
# battery monitor script
exec --no-startup-id "$HOME/Programs/own/battery/monitor.py &>$HOME/.log/my-i3-desktop/battery-monitor.log || notify-send -u critical -i battery -a i3 'Failed to start battery monitor' 'Battery monitor had a non-zero exit code.'"
exec --no-startup-id "$HOME/bin/own/battery/monitor.py &>$HOME/.log/my-i3-desktop/battery-monitor.log || notify-send -u critical -i battery -a i3 'Failed to start battery monitor' 'Battery monitor had a non-zero exit code.'"
# set background

View File

@ -22,6 +22,7 @@ mkdir -p $DOT_CONF
ln -s $PWD/xfce4-terminal $DOT_CONF/xfce4/terminal
}
ln -s $PWD/user-dirs.dirs $DOT_CONF/user-dirs.dirs
ln -s $PWD/gitignore $DOT_CONF/.gitignore
mkdir -p $DOT_CONF/nvim/plug/
ln -s $PWD/nvim-init.vim $DOT_CONF/nvim/init.vim

View File

@ -361,7 +361,7 @@ let g:ycm_autoclose_preview_window_after_insertion=1
let g:ycm_server_python_interpreter='/usr/bin/python3'
let g:ycm_global_ycm_extra_conf='~/.config/nvim/ycm_extra_conf.py'
let g:ycm_extra_conf_globlist = ['~/Nextcloud/*', '~/Documents/*','~/development/*','~/unief/*'] " ,'!~/*'
let g:ycm_extra_conf_globlist = ['~/wlk/*', '~/doc/*','~/dev/*','~/uni/*'] " ,'!~/*'
"let g:ycm_rust_src_path='/data/programming/rustc-1.7.0/src'
set completeopt=menu

15
user-dirs.dirs Normal file
View File

@ -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/"
XDG_DOWNLOAD_DIR="$HOME/dwn"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/doc"
XDG_MUSIC_DIR="$HOME/mus"
XDG_PICTURES_DIR="$HOME/img"
XDG_VIDEOS_DIR="$HOME/vid"