diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 0b5ecbd..444cd5f 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -5,7 +5,7 @@ db_file "~/.config/mpd/database" log_file "~/.config/mpd/mpd.log" # The music directory is by default the XDG directory, uncomment to amend and choose a different directory -music_directory "/media/6CEC-36BB/Music" +music_directory "/media/eHDD/Music" # Uncomment to refresh the database whenever files in the music_directory are changed auto_update "yes" diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config index 92a4bc8..8b6a33d 100644 --- a/.config/ncmpcpp/config +++ b/.config/ncmpcpp/config @@ -7,7 +7,7 @@ #~~~~~~~~~ # GENERAL #~~~~~~~~~ -mpd_music_dir = "/media/6CEC-36BB/Music" +mpd_music_dir = "/media/eHDD/Music" lyrics_directory = "~/.config/ncmpcpp/lyrics" ncmpcpp_directory = "~/.config/ncmpcpp" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 6b294a0..f257337 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -69,5 +69,14 @@ augroup langindentation autocmd Filetype sh setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 augroup END +" oh, gods - this is beautiful +autocmd BufWritePost *Xresources,*Xdefaults !xrdb % +autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd +autocmd BufWritePost *picom.conf !pkill -USR1 picom + +" Automatically deletes all trailing whitespace and newlines at end of file on save. +autocmd BufWritePre * %s/\s\+$//e +autocmd BufWritepre * %s/\n\+\%$//e + " Encoding scriptencoding utf-8