Doom & focus fixes
This commit is contained in:
parent
57216b21fe
commit
001cab3a2a
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue