Doom & focus fixes

This commit is contained in:
xerus2000 2020-10-15 10:12:25 +02:00
parent 57216b21fe
commit 001cab3a2a
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@
:leader "bq" 'doom/save-and-kill-buffer :leader "bq" 'doom/save-and-kill-buffer
:leader "mj" 'org-insert-heading) :leader "mj" 'org-insert-heading)
(setq initial-major-mode 'org-mode)
(desktop-save-mode 1) (desktop-save-mode 1)
;; Backups & auto-saves ;; Backups & auto-saves

View File

@ -1,3 +1,3 @@
playlistPath="$MUSIC/Playlists" playlistPath="$MUSIC/Playlists"
result="$(test "$1" && (find $playlistPath -iname "focus-$1.m3u8" | grep . || find $playlistPath -iname "$1.m3u*" | grep . || find $MUSIC -iname "*$1*") || echo "$playlistPath/focus.m3u8" )" result="$(test "$1" && (find $playlistPath -iname "focus-$1.m3u8" | grep . || find $playlistPath -iname "$1.m3u*" | grep . || find $MUSIC -iname "*$1*") | head -1 || echo "$playlistPath/focus.m3u8" )"
vp "$result" vp "$result"