Merge branch 'main' into main

This commit is contained in:
Cadair 2024-01-15 09:04:00 +00:00
commit 857d193205
1 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,7 @@
;;; Code:
(require 'xdg)
(require 'xdg nil t)
(require 'json)
(require 'org-clock)
@ -47,7 +47,9 @@
:group 'emacs)
(defcustom org-clock-waybar-filename
(expand-file-name "waybar-current-task.json" (xdg-cache-home))
(if (fboundp 'xdg-cache-home)
(expand-file-name "waybar-current-task.json" (xdg-cache-home))
(expand-file-name "~/.cache/waybar-current-task.json"))
"Name of the file to save task data to."
:type 'string
:group 'org-clock-waybar)