You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
743 B
EmacsLisp
10 lines
743 B
EmacsLisp
(load-file "~/.emacs.d/custom/workday.el")
|
|
(if (isworkday)
|
|
(if (< (string-to-number (format-time-string "%H")) 18)
|
|
(if (> (string-to-number (format-time-string "%H")) 7)
|
|
(setq org-agenda-files (list "~/Documents/drive/org/calendar/admin.org" "~/Documents/drive/org/calendar/home.org" "~/Documents/drive/org/calendar/music.org" "~/Documents/drive/org/calendar/work.org")))
|
|
(setq org-agenda-files (list "~/Documents/drive/org/calendar/admin.org" "~/Documents/drive/org/calendar/home.org" "~/Documents/drive/org/calendar/music.org" "~/Documents/drive/org/calendar/personal.org"))))
|
|
(setq org-agenda-prefix-format '((agenda . "%?-12t%s")))
|
|
(setq org-deadline-warning-days 0)
|
|
(load-file "~/.emacs.d/agenda-common.el")
|