forked from gergely/org-clock-waybar
Compare commits
4 Commits
201135cc21
...
857d193205
Author | SHA1 | Date | |
---|---|---|---|
857d193205 | |||
c327eb18c6 | |||
754fd9d2fa | |||
a144ee13c0 |
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'xdg)
|
(require 'xdg nil t)
|
||||||
(require 'json)
|
(require 'json)
|
||||||
(require 'org-clock)
|
(require 'org-clock)
|
||||||
|
|
||||||
@ -47,7 +47,9 @@
|
|||||||
:group 'emacs)
|
:group 'emacs)
|
||||||
|
|
||||||
(defcustom org-clock-waybar-filename
|
(defcustom org-clock-waybar-filename
|
||||||
|
(if (fboundp 'xdg-cache-home)
|
||||||
(expand-file-name "waybar-current-task.json" (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."
|
"Name of the file to save task data to."
|
||||||
:type 'string
|
:type 'string
|
||||||
:group 'org-clock-waybar)
|
:group 'org-clock-waybar)
|
||||||
|
Loading…
Reference in New Issue
Block a user