FIX : init.el for org-capture
TEST : kdeconnect to i3status
This commit is contained in:
parent
1191cd5a62
commit
3b6b76c6cf
|
@ -125,20 +125,24 @@
|
||||||
("DONE" . (:foreground "gray50" :background "gray30"))))
|
("DONE" . (:foreground "gray50" :background "gray30"))))
|
||||||
|
|
||||||
;; tags
|
;; tags
|
||||||
(setq org-tag-alist '(("DEVIS" . ?d) ("PROJETS" . ?p) ("CLIENT" . ?c) ("PROSPECT" . ?o) ("INTERNE" . ?i) ("AO" . ?a) ("PJ" . ?z) ("AVV" . ?v)))
|
(setq org-tag-alist '(("DEVIS" . ?d) ("PROJETS" . ?p) ("CLIENT" . ?c) ("PROSPECT" . ?o) ("INTERNE" . ?i) ("AO" . ?a) ("PJ" . ?z) ("AVV" . ?v) ("LEGACY" . ?l) ("ROC" . ?r)))
|
||||||
|
|
||||||
(setq org-tag-faces
|
(setq org-tag-faces
|
||||||
'(
|
'(
|
||||||
("DEVIS" . (:foreground "OrangeRed" :weight bold))
|
("DEVIS" . (:foreground "OrangeRed" :weight bold))
|
||||||
|
("ROC" . (:foreground "OrangeRed" :weight bold))
|
||||||
("PJ" . (:foreground "brightyellow" :weight bold))
|
("PJ" . (:foreground "brightyellow" :weight bold))
|
||||||
("PROJET" . (:foreground "IndianRed1" :weight bold))
|
("PROJET" . (:foreground "IndianRed1" :weight bold))
|
||||||
("INTERNE" . (:foreground "LimeGreen" :weight bold))
|
("INTERNE" . (:foreground "LimeGreen" :weight bold))
|
||||||
|
("LEGACY" . (:foreground "LimeGreen" :weight bold))
|
||||||
("CLIENT" . (:foreground "Orange" :weight bold))
|
("CLIENT" . (:foreground "Orange" :weight bold))
|
||||||
("PROSPECT" . (:foreground "MediumPurple3" :weight bold))
|
("PROSPECT" . (:foreground "MediumPurple3" :weight bold))
|
||||||
("AO" . (:foreground "HotPink2" :weight bold))
|
("AO" . (:foreground "HotPink2" :weight bold))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
;; org-capture use to add note to backlog file. At the end of day, use org-refile to dispatch to good note
|
;; org-capture use to add note to backlog file. At the end of day, use org-refile to dispatch to good note
|
||||||
|
;; https://sachachua.com/blog/2014/11/using-org-mode-keep-process-journal/
|
||||||
|
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "TODO" entry (file+datetree "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
'(("t" "TODO" entry (file+datetree "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||||
"* TODO %? %^G \n %U" :empty-lines 1)
|
"* TODO %? %^G \n %U" :empty-lines 1)
|
||||||
|
@ -146,6 +150,9 @@
|
||||||
"* TODO %? %^G \nSCHEDULED: %^t\n %U" :empty-lines 1)
|
"* TODO %? %^G \nSCHEDULED: %^t\n %U" :empty-lines 1)
|
||||||
("l" "Link" entry (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
("l" "Link" entry (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||||
"* TODO %a %? %^G\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n")
|
"* TODO %a %? %^G\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+0d\"))\n")
|
||||||
|
("j" "Journal entry" plain
|
||||||
|
(file+datetree+prompt "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||||
|
"%K - %a\n%i\n%?\n")
|
||||||
("n" "Note" entry (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
("n" "Note" entry (file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||||
"* %? %^G\n%U" :empty-lines 1)))
|
"* %? %^G\n%U" :empty-lines 1)))
|
||||||
|
|
||||||
|
@ -167,7 +174,26 @@
|
||||||
(org-roam-db-autosync-mode)
|
(org-roam-db-autosync-mode)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Index org file and backlog file
|
;; caldav
|
||||||
|
;;(setq org-caldav-url "https://next20.produhost.net/remote.php/dav/alexandre")
|
||||||
|
;;(setq org-caldav-calendars
|
||||||
|
;; '((:calendar-id "alexandre-dri"
|
||||||
|
;; :files ("~/Nextcloud/PRIVE/13_Org/calendar/alexandre-dri.org")
|
||||||
|
;; :inbox "~/Nextcloud/PRIVE/13_Org/calendar/alexandre-dri-inbox.org")))
|
||||||
|
;;(setq org-icalendar-include-todo 'all
|
||||||
|
;; org-caldav-sync-todo t)
|
||||||
|
;;
|
||||||
|
(use-package org-journal
|
||||||
|
:ensure t
|
||||||
|
:defer t
|
||||||
|
:init
|
||||||
|
;; Change default prefix key; needs to be set before loading org-journal
|
||||||
|
(setq org-journal-prefix-key "C-c j ")
|
||||||
|
:config
|
||||||
|
(setq org-journal-file-type=weekly
|
||||||
|
org-journal-date-format "%A, %d %B %Y"))
|
||||||
|
|
||||||
|
;;;; Index org file and backlog file
|
||||||
(defvar org-gtd-file "~/Nextcloud/PRIVE/13_Org/DRI.org")
|
(defvar org-gtd-file "~/Nextcloud/PRIVE/13_Org/DRI.org")
|
||||||
(defvar org-backlog-file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
(defvar org-backlog-file "~/Nextcloud/PRIVE/13_Org/backlog.org")
|
||||||
|
|
||||||
|
|
|
@ -72,11 +72,11 @@
|
||||||
interval = 60;
|
interval = 60;
|
||||||
format = "%a %d/%m %R";
|
format = "%a %d/%m %R";
|
||||||
}
|
}
|
||||||
{
|
# {
|
||||||
block = "pomodoro";
|
# block = "Kdeconnect";
|
||||||
message = "Break !";
|
# format = " $icon {$bat_icon $bat_charge |}{$notif_icon |}{$network_icon$network_strength $network_type |}";
|
||||||
break_message = "Reprise";
|
# bat_good = 101;
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
icons = "material-nf";
|
icons = "material-nf";
|
||||||
theme = "nord-dark";
|
theme = "nord-dark";
|
||||||
|
|
Loading…
Reference in New Issue