Update to include some formatting changes and add readers
This commit is contained in:
parent
00ddbb5f9a
commit
297b2ae77c
17
init.el
17
init.el
@ -1,11 +1,3 @@
|
|||||||
;; custom set stuff
|
|
||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
)
|
|
||||||
|
|
||||||
(global-ede-mode t)
|
(global-ede-mode t)
|
||||||
(global-font-lock-mode t)
|
(global-font-lock-mode t)
|
||||||
|
|
||||||
@ -46,6 +38,8 @@
|
|||||||
(require 'whomp-games)
|
(require 'whomp-games)
|
||||||
;; org configuration
|
;; org configuration
|
||||||
(require 'whomp-orgmode)
|
(require 'whomp-orgmode)
|
||||||
|
;; readers configuration
|
||||||
|
(require 'whomp-readers)
|
||||||
;; dashboard
|
;; dashboard
|
||||||
(require 'whomp-dashboard)
|
(require 'whomp-dashboard)
|
||||||
|
|
||||||
@ -54,10 +48,3 @@
|
|||||||
(let ((user-config (whomp/list-files-with-extension "~/.emacs.d/whomp.d" "el")))
|
(let ((user-config (whomp/list-files-with-extension "~/.emacs.d/whomp.d" "el")))
|
||||||
(dolist (config user-config)
|
(dolist (config user-config)
|
||||||
(load-file config)))
|
(load-file config)))
|
||||||
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
)
|
|
||||||
|
@ -60,10 +60,10 @@ LST is reversed and concatenated into a single string with line breaks."
|
|||||||
"Update the `org-agenda-files` variable.
|
"Update the `org-agenda-files` variable.
|
||||||
This function sets `org-agenda-files` and `org-timeblock-files` to the list of
|
This function sets `org-agenda-files` and `org-timeblock-files` to the list of
|
||||||
all `.org` files in the `~/.org-agenda` directory, and sets
|
all `.org` files in the `~/.org-agenda` directory, and sets
|
||||||
`org-timeblock-inbox-file` to `~/org/agenda/index.org`."
|
`org-timeblock-inbox-file` to `~/org/agenda.org`."
|
||||||
(setq org-agenda-files (whomp/list-files-with-extension "~/org/agenda" "org"))
|
(setq org-agenda-files (whomp/list-files-with-extension "~/org" "org"))
|
||||||
(setq org-timeblock-files (whomp/list-files-with-extension "~/org/agenda" "org"))
|
(setq org-timeblock-files (whomp/list-files-with-extension "~/org" "org"))
|
||||||
(setq org-timeblock-inbox-file "~/org/agenda/index.org"))
|
(setq org-timeblock-inbox-file "~/org/agenda.org"))
|
||||||
|
|
||||||
;; Function to provide for creating files
|
;; Function to provide for creating files
|
||||||
(defun whomp/ensure-file-exists (file-path)
|
(defun whomp/ensure-file-exists (file-path)
|
||||||
|
@ -61,8 +61,9 @@
|
|||||||
;; if things look wonky, you probably either need to install the
|
;; if things look wonky, you probably either need to install the
|
||||||
;; theme or you need to check your spelling.
|
;; theme or you need to check your spelling.
|
||||||
(if whomp-ui-theme
|
(if whomp-ui-theme
|
||||||
(load-theme whomp-ui-theme :no-confirm)
|
((load-theme whomp-ui-theme :no-confirm)
|
||||||
(message "Theme loaded: %s" whomp-ui-theme))
|
(message "Theme loaded: %s" whomp-ui-theme))
|
||||||
|
(message "No theme set."))
|
||||||
|
|
||||||
;; icon bits
|
;; icon bits
|
||||||
|
|
||||||
|
@ -49,19 +49,19 @@
|
|||||||
'((sequence "TODO(t)" "WAITING(w)" "BLOCKED(b)" "|" "IN-PROGRESS(i)")
|
'((sequence "TODO(t)" "WAITING(w)" "BLOCKED(b)" "|" "IN-PROGRESS(i)")
|
||||||
(sequence "CANCELLED(c)" "|" "DONE(d)")))
|
(sequence "CANCELLED(c)" "|" "DONE(d)")))
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
`(("t" "TODO" entry (file+headline "~/org/agenda/index.org" "Tasks")
|
`(("t" "TODO" entry (file+headline "~/org/agenda.org" "Tasks")
|
||||||
"* TODO %?\n %a")
|
"* TODO %?\n %a")
|
||||||
("l" "TODO" entry (file+headline "~/org/agenda/index.org" "LIFE Tasks")
|
("l" "TODO" entry (file+headline "~/org/agenda.org" "LIFE Tasks")
|
||||||
"* TODO %?\n %i\n %a")
|
"* TODO %?\n %i\n %a")
|
||||||
("a" "Appointment" entry (file+headline "~/org/agenda/events.org" "Appointments")
|
("a" "Appointment" entry (file+headline "~/org/events.org" "Appointments")
|
||||||
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
||||||
("e" "Schedule Event" entry (file+headline "~/org/agenda/events.org" "Events")
|
("e" "Schedule Event" entry (file+headline "~/org/events.org" "Events")
|
||||||
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
||||||
("m" "Schedule Meeting" entry (file+headline "~/org/agenda/events.org" "Meetings")
|
("m" "Schedule Meeting" entry (file+headline "~/org/events.org" "Meetings")
|
||||||
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
||||||
("n" "Note" entry (file "~/org/index.org")
|
("n" "Note" entry (file "~/org/index.org")
|
||||||
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
"* %?\n %i\n %a" :clock-in t :clock-resume t)
|
||||||
("i" "Idea" entry (file "~/org/agenda/ideas.org")
|
("i" "Idea" entry (file "~/org/ideas.org")
|
||||||
"* %? :IDEA: \n%t" :clock-in t :clock-resume t)))
|
"* %? :IDEA: \n%t" :clock-in t :clock-resume t)))
|
||||||
(org-babel-do-load-languages
|
(org-babel-do-load-languages
|
||||||
'org-babel-load-languages
|
'org-babel-load-languages
|
||||||
|
23
whomp/whomp-readers.el
Normal file
23
whomp/whomp-readers.el
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
;;
|
||||||
|
;; Reading Packages
|
||||||
|
;; These are the packages related to reading from a source
|
||||||
|
;;
|
||||||
|
|
||||||
|
(defcustom whomp-reader nil
|
||||||
|
"Whether or not to enable reader packages."
|
||||||
|
:type '(set (const :tag "Elfeed" elfeed) ;; Elfeed RSS Reader
|
||||||
|
)
|
||||||
|
:group 'whomp-config)
|
||||||
|
|
||||||
|
(when (memq 'elfeed whomp-reader)
|
||||||
|
(use-package elfeed
|
||||||
|
:straight t
|
||||||
|
:defer t)
|
||||||
|
(use-package elfeed-org
|
||||||
|
:straight t
|
||||||
|
:defer t)
|
||||||
|
(message "Elfeed loaded"))
|
||||||
|
|
||||||
|
(message "W.H.O.M.P. Reader packages loaded")
|
||||||
|
(provide 'whomp-reader)
|
||||||
|
;; whomp-social.el ends here
|
Loading…
Reference in New Issue
Block a user