diff --git a/i3/config b/i3/config index 1bce1f8..c3a680d 100644 --- a/i3/config +++ b/i3/config @@ -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 diff --git a/install.sh b/install.sh index 94ed068..9be142a 100644 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/nvim-init.vim b/nvim-init.vim index dbd6acc..8c61c06 100644 --- a/nvim-init.vim +++ b/nvim-init.vim @@ -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 diff --git a/user-dirs.dirs b/user-dirs.dirs new file mode 100644 index 0000000..27268b4 --- /dev/null +++ b/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/" +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"