diff --git a/hosts/dell-5590/nixpkgs/configs/init.el b/hosts/dell-5590/nixpkgs/configs/init.el index f6b27f4..d442efd 100644 --- a/hosts/dell-5590/nixpkgs/configs/init.el +++ b/hosts/dell-5590/nixpkgs/configs/init.el @@ -125,20 +125,24 @@ ("DONE" . (:foreground "gray50" :background "gray30")))) ;; 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 '( ("DEVIS" . (:foreground "OrangeRed" :weight bold)) + ("ROC" . (:foreground "OrangeRed" :weight bold)) ("PJ" . (:foreground "brightyellow" :weight bold)) ("PROJET" . (:foreground "IndianRed1" :weight bold)) ("INTERNE" . (:foreground "LimeGreen" :weight bold)) + ("LEGACY" . (:foreground "LimeGreen" :weight bold)) ("CLIENT" . (:foreground "Orange" :weight bold)) ("PROSPECT" . (:foreground "MediumPurple3" :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 +;; https://sachachua.com/blog/2014/11/using-org-mode-keep-process-journal/ + (setq org-capture-templates '(("t" "TODO" entry (file+datetree "~/Nextcloud/PRIVE/13_Org/backlog.org") "* TODO %? %^G \n %U" :empty-lines 1) @@ -146,6 +150,9 @@ "* TODO %? %^G \nSCHEDULED: %^t\n %U" :empty-lines 1) ("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") + ("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") "* %? %^G\n%U" :empty-lines 1))) @@ -167,7 +174,26 @@ (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-backlog-file "~/Nextcloud/PRIVE/13_Org/backlog.org") diff --git a/hosts/dell-5590/nixpkgs/i3status.nix b/hosts/dell-5590/nixpkgs/i3status.nix index 854d5b7..a992610 100644 --- a/hosts/dell-5590/nixpkgs/i3status.nix +++ b/hosts/dell-5590/nixpkgs/i3status.nix @@ -72,11 +72,11 @@ interval = 60; format = "%a %d/%m %R"; } - { - block = "pomodoro"; - message = "Break !"; - break_message = "Reprise"; - } +# { +# block = "Kdeconnect"; +# format = " $icon {$bat_icon $bat_charge |}{$notif_icon |}{$network_icon$network_strength $network_type |}"; +# bat_good = 101; +# } ]; icons = "material-nf"; theme = "nord-dark";