Skip to content

Commit

Permalink
Use XDG_CONFIG_HOME to find the lem configuration directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
timmydo committed Aug 18, 2023
1 parent d830e4a commit 1776c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(defun lem-home ()
(or (uiop:getenv "LEM_HOME")
(merge-pathnames ".lem/" (user-homedir-pathname))))
(uiop:xdg-config-home "lem/")))

(defun lem-logdir-pathname ()
(merge-pathnames "logs/" (lem-home)))
Expand Down

0 comments on commit 1776c27

Please sign in to comment.