update of assets from refresh script
This commit is contained in:
parent
a1603fc77d
commit
84c4fdf8d5
@ -254,171 +254,177 @@ Présentation personnalisée d'agenda, "custom views".
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
|
||||||
;; Custom agenda command definitions --------------------------
|
;; Custom agenda command definitions --------------------------
|
||||||
;; https://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html
|
;; https://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html
|
||||||
|
|
||||||
(use-package org-super-agenda)
|
(use-package org-super-agenda)
|
||||||
(use-package org-ql)
|
(use-package org-ql)
|
||||||
(bind-key "<apps> a" 'org-agenda)
|
(bind-key "<apps> a" 'org-agenda)
|
||||||
(setq org-return-follows-link t)
|
(setq org-return-follows-link t)
|
||||||
(setq org-cycle-include-plain-lists 'integrate)
|
(setq org-cycle-include-plain-lists 'integrate)
|
||||||
(defun my-org-agenda-skip-scheduled ()
|
(defun my-org-agenda-skip-scheduled ()
|
||||||
(org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "\n]+>"))
|
(org-agenda-skip-entry-if 'scheduled 'deadline 'regexp "\n]+>"))
|
||||||
|
|
||||||
(setq org-agenda-prefix-format
|
(setq org-agenda-prefix-format
|
||||||
'((agenda . " %i %-12:c%?-12t% s")
|
'((agenda . " %i %-12:c%?-12t% s")
|
||||||
(todo . " ")
|
(todo . " ")
|
||||||
(tags . " %i %-12:c")
|
(tags . " %i %-12:c")
|
||||||
(search . " %i %-12:c")))
|
(search . " %i %-12:c")))
|
||||||
|
|
||||||
(setq org-agenda-custom-commands
|
(setq org-agenda-custom-commands
|
||||||
(quote (
|
(quote
|
||||||
;; ("s" "Super Agenda" agenda "FIXXME: does work but w/o super-agenda"
|
(
|
||||||
;; (org-super-agenda-mode)
|
("c" "Classique Agenda et Todos"
|
||||||
;; (org-agenda nil "a"))
|
((agenda "" ((org-agenda-span 2)))
|
||||||
|
(agenda "" (
|
||||||
|
(org-agenda-overriding-header
|
||||||
|
" ------------ tâches inbox ------------"
|
||||||
|
)
|
||||||
|
(tags-todo "+inbox")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(alltodo
|
||||||
|
""
|
||||||
|
((org-agenda-overriding-header "")
|
||||||
|
(org-super-agenda-groups
|
||||||
|
'(
|
||||||
|
(:name "Important, unscheduled"
|
||||||
|
:and (:priority "A"
|
||||||
|
:scheduled nil)
|
||||||
|
:order 2)
|
||||||
|
|
||||||
("c" "Classique Agenda et Todos"
|
(
|
||||||
((agenda "" ((org-agenda-span 2)))
|
:name "Inbox"
|
||||||
(alltodo
|
:file-path "incoming_inbox.org"
|
||||||
""
|
:order 1)
|
||||||
((org-agenda-overriding-header "")
|
(:name "Project-related, unscheduled"
|
||||||
(org-super-agenda-groups
|
:and (:tag "project" :date nil :todo ("STARTED" "WAITING" "TODO"))
|
||||||
'((:name "Important, unscheduled"
|
:order 3)
|
||||||
:and (:priority "A"
|
(:name "Waiting"
|
||||||
:scheduled nil)
|
:and (:todo "WAITING"
|
||||||
:order 2)
|
:scheduled nil)
|
||||||
(:name "Inbox"
|
:order 4)
|
||||||
:file-path "Inbox.org"
|
(:discard (:todo "SOMEDAY"
|
||||||
:order 1)
|
:category "cooking"
|
||||||
(:name "Project-related, unscheduled"
|
:date t))
|
||||||
:and (:tag "project" :date nil :todo ("STARTED" "WAITING" "TODO"))
|
(:name "Unscheduled"
|
||||||
:order 3)
|
:scheduled nil
|
||||||
(:name "Waiting"
|
:order 5)
|
||||||
:and (:todo "WAITING"
|
(:discard (:anything t))
|
||||||
:scheduled nil)
|
)
|
||||||
:order 4)
|
)))
|
||||||
(:discard (:todo "SOMEDAY"
|
))
|
||||||
:category "cooking"
|
("x" "Unscheduled, untagged tasks" tags-todo "-someday-TODO=\"SOMEDAY\"-TODO=\"DELEGATED\"-TODO=\"WAITING\"-project-cooking-routine-evilplans-computer-writing-phone-sewing-home-errands-shopping"
|
||||||
:date t))
|
((org-agenda-skip-function 'my-org-agenda-skip-scheduled)
|
||||||
(:name "Unscheduled"
|
(org-agenda-view-columns-initially nil)
|
||||||
:scheduled nil
|
(org-agenda-overriding-header "Tâches TODO sans schedule: ")
|
||||||
:order 5)
|
(org-columns-default-format "%50ITEM %TODO %3PRIORITY %Effort{:} %TAGS")
|
||||||
(:discard (:anything t))
|
(org-agenda-sorting-strategy '(todo-state-up priority-down effort-up tag-up category-keep))))
|
||||||
)
|
|
||||||
)))
|
|
||||||
))
|
|
||||||
("x" "Unscheduled, untagged tasks" tags-todo "-someday-TODO=\"SOMEDAY\"-TODO=\"DELEGATED\"-TODO=\"WAITING\"-project-cooking-routine-evilplans-computer-writing-phone-sewing-home-errands-shopping"
|
|
||||||
((org-agenda-skip-function 'my-org-agenda-skip-scheduled)
|
|
||||||
(org-agenda-view-columns-initially nil)
|
|
||||||
;; (org-tags-exclude-from-inheritance '("project"))
|
|
||||||
(org-agenda-overriding-header "Tâches TODO sans schedule: ")
|
|
||||||
(org-columns-default-format "%50ITEM %TODO %3PRIORITY %Effort{:} %TAGS")
|
|
||||||
(org-agenda-sorting-strategy '(todo-state-up priority-down effort-up tag-up category-keep))))
|
|
||||||
|
|
||||||
("b" "Boulot" tags-todo "+boulot")
|
("b" "Boulot" tags-todo "+boulot")
|
||||||
("c" "Cancelled" tags-todo "+TODO=\"CANCELLED\"")
|
("c" "Cancelled" tags-todo "+TODO=\"CANCELLED\"")
|
||||||
("D" "Done tasks" tags-todo "DONE")
|
("D" "Done tasks" tags-todo "DONE")
|
||||||
("i" "Inbox to sort" tags "+inbox")
|
("i" "Inbox to sort" tags "+inbox")
|
||||||
("g". "GTD Searches") ;; category searches
|
("g". "GTD Searches") ;; category searches
|
||||||
("gd" "Daily"
|
("gd" "Daily"
|
||||||
agenda "" (
|
agenda "" (
|
||||||
(org-agenda-overriding-header "\n-------------- Agenda du jour ------------------\n")
|
(org-agenda-overriding-header "\n-------------- Agenda du jour ------------------\n")
|
||||||
;; (org-agenda-todo-keyword-format "[ ]")
|
|
||||||
(org-agenda-span 1)
|
|
||||||
(tags-todo "+PRIORITY=\"A\"")
|
|
||||||
)
|
|
||||||
;; montrer aussi ce qui est dans l'inbox pour le trier
|
|
||||||
(tags-todo "+inbox")
|
|
||||||
)
|
|
||||||
("gw" "Weekly review"
|
|
||||||
agenda "" (
|
|
||||||
(org-agenda-overriding-header "\n-------------- Revue hebdomadaire\n------------------\n")
|
|
||||||
(org-agenda-start-day "-7d")
|
|
||||||
(org-agenda-span 7)
|
|
||||||
(org-agenda-start-on-weekday 1)
|
|
||||||
(org-agenda-start-with-log-mode '(closed))
|
|
||||||
(org-agenda-archives-mode t)
|
|
||||||
(org-agenda-todo-keyword-format "[X]")
|
|
||||||
(org-agenda-skip-function
|
|
||||||
'(org-agenda-skip-entry-if 'notregexp "^\\*\\* DONE ")
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
("g2" "Bi-weekly review" agenda "" ((org-agenda-span 14) (org-agenda-log-mode 1)))
|
|
||||||
("0" "Unestimated tasks" tags-todo "EFFORT=\"\"")
|
|
||||||
("5" "Quick tasks" tags-todo "EFFORT>=\"5\"&EFFORT<=\"15\"")
|
|
||||||
("8" "Medium tasks" tags-todo "EFFORT>=\"15\"&EFFORT<=\"60\"")
|
|
||||||
("9" "Unscheduled top 3 by context" my-org-agenda-contexts
|
|
||||||
((org-agenda-skip-function 'my-org-agenda-skip-scheduled)
|
|
||||||
(org-agenda-sorting-strategy '(priority-down effort-down))
|
|
||||||
(org-agenda-max-entries 3)))
|
|
||||||
("p" "By priority"
|
|
||||||
(
|
|
||||||
(tags-todo "+PRIORITY=\"A\"")
|
|
||||||
(tags-todo "+PRIORITY=\"B\"")
|
|
||||||
(tags-todo "+PRIORITY=\"\"")
|
|
||||||
(tags-todo "+PRIORITY=\"C\"")
|
|
||||||
)
|
|
||||||
|
|
||||||
((org-agenda-prefix-format "%-10c %-10T %e ")
|
(org-agenda-span 1)
|
||||||
(org-agenda-sorting-strategy '(priority-down tag-up category-keep effort-down))))
|
(tags-todo "+PRIORITY=\"A\"")
|
||||||
("P" "Printed paper agenda"
|
)
|
||||||
(
|
;; montrer aussi ce qui est dans l'inbox pour le trier
|
||||||
(agenda "" (
|
(tags-todo "+inbox")
|
||||||
(org-agenda-span 7) ;; overview of appointments
|
)
|
||||||
(org-agenda-start-on-weekday nil) ;; calendar begins today
|
("gw" "Weekly review"
|
||||||
(org-agenda-repeating-timestamp-show-all t)
|
agenda "" (
|
||||||
(org-agenda-entry-types '(:timestamp :sexp))
|
(org-agenda-overriding-header "\n-------------- Revue hebdomadaire\n------------------\n")
|
||||||
)
|
(org-agenda-start-day "-7d")
|
||||||
)
|
(org-agenda-span 7)
|
||||||
(agenda "" (
|
(org-agenda-start-on-weekday 1)
|
||||||
(org-agenda-span 1) ; daily agenda
|
(org-agenda-start-with-log-mode '(closed))
|
||||||
(org-deadline-warning-days 7) ; 7 day advanced warning for deadlines
|
(org-agenda-archives-mode t)
|
||||||
(org-agenda-todo-keyword-format "[ ]")
|
(org-agenda-todo-keyword-format "[X]")
|
||||||
(org-agenda-scheduled-leaders '("" ""))
|
(org-agenda-skip-function
|
||||||
(org-agenda-prefix-format "%t%s")
|
'(org-agenda-skip-entry-if 'notregexp "^\\*\\* DONE ")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(todo "TODO" ;; todos sorted by context
|
)
|
||||||
(
|
("g2" "Bi-weekly review" agenda "" ((org-agenda-span 14) (org-agenda-log-mode 1)))
|
||||||
(org-agenda-prefix-format "[ ] %T: ")
|
("0" "Unestimated tasks" tags-todo "EFFORT=\"\"")
|
||||||
(org-agenda-sorting-strategy '(tag-up priority-down))
|
("5" "Quick tasks" tags-todo "EFFORT>=\"5\"&EFFORT<=\"15\"")
|
||||||
(org-agenda-todo-keyword-format "")
|
("8" "Medium tasks" tags-todo "EFFORT>=\"15\"&EFFORT<=\"60\"")
|
||||||
(org-agenda-overriding-header "\nTasks by Context\n------------------\n")
|
("9" "Unscheduled top 3 by context" my-org-agenda-contexts
|
||||||
)
|
((org-agenda-skip-function 'my-org-agenda-skip-scheduled)
|
||||||
)
|
(org-agenda-sorting-strategy '(priority-down effort-down))
|
||||||
)
|
(org-agenda-max-entries 3)))
|
||||||
((org-agenda-with-colors nil)
|
("p" "By priority"
|
||||||
(org-agenda-compact-blocks t)
|
(
|
||||||
(org-agenda-remove-tags t)
|
(tags-todo "+PRIORITY=\"A\"")
|
||||||
(ps-number-of-columns 2)
|
(tags-todo "+PRIORITY=\"B\"")
|
||||||
(ps-landscape-mode t))
|
(tags-todo "+PRIORITY=\"\"")
|
||||||
("~/agenda.ps"))
|
(tags-todo "+PRIORITY=\"C\"")
|
||||||
|
)
|
||||||
|
|
||||||
("f". "Filter Searches") ;; category searches
|
((org-agenda-prefix-format "%-10c %-10T %e ")
|
||||||
("fc" tags "+claire")
|
(org-agenda-sorting-strategy '(priority-down tag-up category-keep effort-down))))
|
||||||
("fh" tags "+helia")
|
("P" "Printed paper agenda"
|
||||||
("fv" tags "+vovo")
|
(
|
||||||
("fs" tags "+social")
|
(agenda "" (
|
||||||
|
(org-agenda-span 7) ;; overview of appointments
|
||||||
|
(org-agenda-start-on-weekday nil) ;; calendar begins today
|
||||||
|
(org-agenda-repeating-timestamp-show-all t)
|
||||||
|
(org-agenda-entry-types '(:timestamp :sexp))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(agenda "" (
|
||||||
|
(org-agenda-span 1) ; daily agenda
|
||||||
|
(org-deadline-warning-days 7) ; 7 day advanced warning for deadlines
|
||||||
|
(org-agenda-todo-keyword-format "[ ]")
|
||||||
|
(org-agenda-scheduled-leaders '("" ""))
|
||||||
|
(org-agenda-prefix-format "%t%s")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(todo "TODO" ;; todos sorted by context
|
||||||
|
(
|
||||||
|
(org-agenda-prefix-format "[ ] %T: ")
|
||||||
|
(org-agenda-sorting-strategy '(tag-up priority-down))
|
||||||
|
(org-agenda-todo-keyword-format "")
|
||||||
|
(org-agenda-overriding-header "\nTasks by Context\n------------------\n")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
((org-agenda-with-colors nil)
|
||||||
|
(org-agenda-compact-blocks t)
|
||||||
|
(org-agenda-remove-tags t)
|
||||||
|
(ps-number-of-columns 2)
|
||||||
|
(ps-landscape-mode t))
|
||||||
|
("~/agenda.ps"))
|
||||||
|
|
||||||
("n" "Non boulot" tags-todo "-boulot+TODO=TODO"
|
("f". "Filter Searches") ;; category searches
|
||||||
(todo "TODO"
|
("fc" tags "+claire")
|
||||||
((org-agenda-prefix-format "[ ] %T: ")
|
("fh" tags "+helia")
|
||||||
(org-agenda-overriding-header "Tâches pour le fun")
|
("fv" tags "+vovo")
|
||||||
(org-agenda-sorting-strategy
|
("fs" tags "+social")
|
||||||
'(todo-state-down effort-up category-keep)
|
|
||||||
))
|
("n" "Non boulot" tags-todo "-boulot+TODO=TODO"
|
||||||
)
|
(todo "TODO"
|
||||||
)
|
((org-agenda-prefix-format "[ ] %T: ")
|
||||||
("h" "Habits" tags-todo "STYLE=\"habit\""
|
(org-agenda-overriding-header "Tâches pour le fun")
|
||||||
((org-agenda-overriding-header "Habitudes")
|
(org-agenda-sorting-strategy
|
||||||
(org-agenda-todo-keyword-format "[ ]")
|
'(todo-state-down effort-up category-keep)
|
||||||
(org-agenda-sorting-strategy
|
))
|
||||||
'(todo-state-down effort-up category-keep)))
|
)
|
||||||
)
|
)
|
||||||
)
|
("h" "Habits" tags-todo "STYLE=\"habit\""
|
||||||
)
|
((org-agenda-overriding-header "Habitudes")
|
||||||
)
|
(org-agenda-todo-keyword-format "[ ]")
|
||||||
|
(org-agenda-sorting-strategy
|
||||||
|
'(todo-state-down effort-up category-keep)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Ménage dans les tâches réalisées
|
** Ménage dans les tâches réalisées
|
||||||
@ -534,45 +540,45 @@ Présentation personnalisée d'agenda, "custom views".
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
|
||||||
;; full screen captures
|
;; full screen captures
|
||||||
;; (add-hook 'org-capture-mode-hook 'delete-other-windows)
|
;; (add-hook 'org-capture-mode-hook 'delete-other-windows)
|
||||||
|
|
||||||
;;; templates de capture pour les nouvelles tâches
|
;;; templates de capture pour les nouvelles tâches
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(
|
'(
|
||||||
("t" "Todo someday"
|
("t" "Todo someday"
|
||||||
entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
||||||
"* SOMEDAY %? \n")
|
"* SOMEDAY %? \n")
|
||||||
("d" "Todo this Day" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
("d" "Todo this Day" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
||||||
"* TODO %?\nDEADLINE:%T \n")
|
"* TODO %?\nDEADLINE:%T \n")
|
||||||
("b" "Boulot" entry (file+headline "~/Nextcloud/textes/orgmode/boulot.org" "Inbox")
|
("b" "Boulot" entry (file+headline "~/Nextcloud/textes/orgmode/boulot.org" "Inbox")
|
||||||
"* TODO %?\n :boulot:work: \n\n")
|
"* TODO %?\n :boulot:work: \n\n")
|
||||||
;; (file "~/Nextclod/textes/orgmode/org-roam/20220620110632-meeting_template.org")
|
;; (file "~/Nextclod/textes/orgmode/org-roam/20220620110632-meeting_template.org")
|
||||||
("m" "Meeting" entry (file+datetree "~/Nextcloud/textes/orgmode/reunions.org" "Réunions")
|
("m" "Meeting" entry (file+olp+datetree "~/Nextcloud/textes/orgmode/reunions.org" "Réunions")
|
||||||
"* Réunion %T - %U \n :[[id:d8636e1d-0137-4502-9384-767b41c892b0][boulot:meeting:]] \n\n**** Gens présents\n**** Notes\n - %?\n**** Choses à investiguer\n -\n**** Prochaines actions\n - Fin de la réunion: \n"
|
"* Réunion %T - %U \n :[[id:d8636e1d-0137-4502-9384-767b41c892b0][boulot:meeting:]] \n\n**** Gens présents\n**** Notes\n - %?\n**** Choses à investiguer\n -\n**** Prochaines actions\n - Fin de la réunion: \n"
|
||||||
)
|
)
|
||||||
("e" "E-mail" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
("e" "E-mail" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
||||||
"* TODO %? :mail:écriture: \n\n")
|
"* TODO %? :mail:écriture: \n\n")
|
||||||
("n" "Next Task" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
("n" "Next Task" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Inbox")
|
||||||
"** NEXT %? \nDEADLINE: %t \n\n")
|
"** NEXT %? \nDEADLINE: %t \n\n")
|
||||||
("p" "Phone call" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Tel")
|
("p" "Phone call" entry (file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Tel")
|
||||||
"* PHONE %? :tel:\n%U \n\n" :clock-in t :clock-resume t)
|
"* PHONE %? :tel:\n%U \n\n" :clock-in t :clock-resume t)
|
||||||
("j" "Journal" entry (file+datetree "~/Nextcloud/textes/orgmode/journal.org")
|
("j" "Journal" entry (file+olp+datetree "~/Nextcloud/textes/orgmode/journal.org")
|
||||||
"* %?\nÉcrit le %U\n ")
|
"* %?\nÉcrit le %U\n ")
|
||||||
;; ajouter une ligne dans un tableau
|
;; ajouter une ligne dans un tableau
|
||||||
("v" "Table" table-line
|
("v" "Table" table-line
|
||||||
(file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Table")
|
(file+headline "~/Nextcloud/textes/orgmode/tasks.org" "Table")
|
||||||
"| %U | %? | auto-capture |")
|
"| %U | %? | auto-capture |")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
;; raccourci custom pour clavier sans pavé numérique
|
;; raccourci custom pour clavier sans pavé numérique
|
||||||
(global-set-key (kbd "C-T") 'org-capture)
|
(global-set-key (kbd "C-T") 'org-capture)
|
||||||
|
|
||||||
|
|
||||||
;; raccourci custom pour clavier sans pavé numérique
|
;; raccourci custom pour clavier sans pavé numérique
|
||||||
(global-set-key (kbd "C-T") 'org-capture)
|
(global-set-key (kbd "C-T") 'org-capture)
|
||||||
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -6,7 +6,7 @@ echo "updating calendar from nextcloud"
|
|||||||
# public link to orgmode calendar of nextcloud https://cloud.tykayn.fr/index.php/apps/calendar/timeGridWeek/now
|
# public link to orgmode calendar of nextcloud https://cloud.tykayn.fr/index.php/apps/calendar/timeGridWeek/now
|
||||||
#URL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/abcdeffffffffffffffffff\?export"
|
#URL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/abcdeffffffffffffffffff\?export"
|
||||||
|
|
||||||
URL_CAL="https://nuage.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
URL_CAL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
||||||
echo $URL_CAL
|
echo $URL_CAL
|
||||||
|
|
||||||
wget $URL_CAL -O orgcalendar.ics --show-progress
|
wget $URL_CAL -O orgcalendar.ics --show-progress
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
# tâche à effectuer régulièrement sur les ordis portables
|
# tâche à effectuer régulièrement sur les ordis portables
|
||||||
#
|
#
|
||||||
# @author functions_sync by @tykayn - contact at cipherbliss.com
|
# @author functions_sync by @tykayn - contact at cipherbliss.com
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
|
|
||||||
# récupérer les notes du mobile et les stocker dans l'incoming inbox orgmode
|
# récupérer les notes du mobile et les stocker dans l'incoming inbox orgmode
|
||||||
|
|
||||||
bash $WORKFLOW_PATH/archive_from_nextcloud.sh
|
#bash $WORKFLOW_PATH/archive_from_nextcloud.sh
|
||||||
bash $WORKFLOW_PATH/update_calendar_tkwulfi.sh
|
bash $WORKFLOW_PATH/update_calendar_tkwulfi.sh
|
||||||
bash $WORKFLOW_PATH/get_nextcloud_notes_todo.sh
|
bash $WORKFLOW_PATH/get_nextcloud_notes_todo.sh
|
||||||
bash $WORKFLOW_PATH/backup_nextcloud_in_user_home.sh
|
bash $WORKFLOW_PATH/backup_nextcloud_in_user_home.sh
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "========== init de workflow par Tykayn ======="
|
echo "========== init de workflow par Tykayn ======="
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
|
||||||
|
mkdir -p ~/Nextcloud/ressources/workflow_nextcloud/
|
||||||
|
|
||||||
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
|
|
||||||
if ! -d ~/Nextcloud/ressources/workflow_nextcloud/ ; then
|
if ! -d ~/Nextcloud/ressources/workflow_nextcloud/ ; then
|
||||||
echo "création du dossier nextcloud workflow_nextcloud"
|
echo "création du dossier nextcloud workflow_nextcloud"
|
||||||
@ -18,15 +21,15 @@ fi
|
|||||||
ansible-galaxy install coglinev3.veracrypt
|
ansible-galaxy install coglinev3.veracrypt
|
||||||
|
|
||||||
echo "vérification et installation des paquets requis"
|
echo "vérification et installation des paquets requis"
|
||||||
sudo ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/tk_softwares.yml"
|
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/tk_softwares.yml"
|
||||||
|
|
||||||
|
|
||||||
ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/pip_modules.yml"
|
ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/pip_modules.yml"
|
||||||
sudo ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/snaps.yml"
|
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/snaps.yml"
|
||||||
ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/node_packages.yml"
|
ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/node_packages.yml"
|
||||||
|
|
||||||
ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/cronjob_workflow.yml"
|
ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/cronjob_workflow.yml"
|
||||||
sudo ansible-playbook "/home/tykayn/Nextcloud/ressources/workflow_nextcloud/ansible/cronjob_workflow_root.yml"
|
sudo ansible-playbook "$WORKFLOW_PATH_PUBLIC/ansible/cronjob_workflow_root.yml"
|
||||||
|
|
||||||
sudo apt autoremove -y
|
sudo apt autoremove -y
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# */30 * * * * bash /home/tykayn/www/scripts/refresh_from_current_assets.sh
|
# */30 * * * * bash /home/tykayn/www/scripts/refresh_from_current_assets.sh
|
||||||
|
|
||||||
# configs
|
# configs
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
echo "mise à jour des assets de référence dans les scripts custom $HOME_OF_SCRIPTS depuis l'ordinateur actuel"
|
echo "mise à jour des assets de référence dans les scripts custom $HOME_OF_SCRIPTS depuis l'ordinateur actuel"
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# functions_sync.sh définit les constantes utiles
|
# functions_sync.sh définit les constantes utiles
|
||||||
# le borg backup fait 1.4 To
|
# le borg backup fait 1.4 To
|
||||||
# le stockage syncable fait
|
# le stockage syncable fait
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/install/functions_sync.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/install/functions_sync.sh
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/install/functions_tk.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/install/functions_tk.sh
|
||||||
|
|
||||||
@ -93,32 +93,6 @@ echo "le log de backup se situe dans : $LOG_FILE_BACKUP_DATES"
|
|||||||
# --------- mettre à jour les borg backup des serveurs distants -------- #
|
# --------- mettre à jour les borg backup des serveurs distants -------- #
|
||||||
# getWebServersBorg;
|
# getWebServersBorg;
|
||||||
|
|
||||||
|
|
||||||
# --- maj borg de stockage syncable ---------- #
|
|
||||||
#upBorg;
|
|
||||||
|
|
||||||
#killall borg
|
|
||||||
logDate "### --------- SPACESHIP | creating borg archive at $SPACESHIP_NEW_BORG_REPO"
|
|
||||||
rm -rf ~/.cache/borg/150867528afd85114c8aba98af201a7ad8cf01869c507a87c025d2f8701040a9/lock.exclusive
|
|
||||||
rm -rf ~/.cache/borg/68b9103c6f35bfd198552cb197f149b1d05309d28ce4429f2bec8df01b453660/lock.exclusive
|
|
||||||
rm -rf ~/.cache/borg/b822ee0c0c5c7a181a3b3b7cefc6eb4f3baf9965f30bfca364c2ff92f9962de4/lock.exclusive
|
|
||||||
rm -rf ~/.cache/borg/d1c0552f96686f6d631068bc8bf0c19f2a7ff80f956dc36b0441f3d8aac78a36/lock.exclusive
|
|
||||||
|
|
||||||
# rm -rf SPACESHIP_NEW_BORG_REPO/lock.exclusive
|
|
||||||
|
|
||||||
borg create encrypted_spaceship_{now} $ARCHIVE_SYNCABLE \
|
|
||||||
/home/poule/encrypted/installateurs/installateurs_pour_ventoy \
|
|
||||||
"${exclude_opts[@]}" --progress --verbose --stats --compression zstd,9 \
|
|
||||||
| tee -a $LOG_FILE_BACKUP 2>&1
|
|
||||||
|
|
||||||
echo " " | tee -a $LOG_FILE_BACKUP 2>&1
|
|
||||||
logDate "### --------- ${today} | SPACESHIP | pruning old archives" | tee -a $LOG_FILE_BACKUP 2>&1
|
|
||||||
# nettoyage tk_backup
|
|
||||||
borg prune -v --list --stats --keep-daily=8 --keep-weekly=6 --keep-monthly=3 --keep-yearly=2 | tee -a $LOG_FILE_BACKUP 2>&1
|
|
||||||
logDate "### --------- pruning done"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --------- disques avec beaucoup de place -------- #
|
# --------- disques avec beaucoup de place -------- #
|
||||||
# --------- disques chiffrés -------- #
|
# --------- disques chiffrés -------- #
|
||||||
#syncToBigDiskName louisbraille
|
#syncToBigDiskName louisbraille
|
||||||
@ -141,7 +115,7 @@ rm -rf /media/tykayn/chaton/borg_archives/backup_land4to
|
|||||||
rm -rf /media/tykayn/lilia/borg_archives/backup_land4to
|
rm -rf /media/tykayn/lilia/borg_archives/backup_land4to
|
||||||
rm -rf /media/tykayn/blue/borg_archives/backup_land4to
|
rm -rf /media/tykayn/blue/borg_archives/backup_land4to
|
||||||
|
|
||||||
syncToBigDiskName brossadent
|
#syncToBigDiskName brossadent
|
||||||
syncToBigDiskName moonmoon
|
syncToBigDiskName moonmoon
|
||||||
syncToBigDiskName louisbraille
|
syncToBigDiskName louisbraille
|
||||||
syncToBigDiskName rugged
|
syncToBigDiskName rugged
|
||||||
@ -149,7 +123,7 @@ syncToBigDiskName rugged
|
|||||||
syncToBigDiskName lilia
|
syncToBigDiskName lilia
|
||||||
syncToBigDiskName blue
|
syncToBigDiskName blue
|
||||||
|
|
||||||
clearDiskSyncBorgServer brossadent
|
#clearDiskSyncBorgServer brossadent
|
||||||
clearDiskSyncBorgServer moonmoon
|
clearDiskSyncBorgServer moonmoon
|
||||||
clearDiskSyncBorgServer louisbraille
|
clearDiskSyncBorgServer louisbraille
|
||||||
clearDiskSyncBorgServer rugged
|
clearDiskSyncBorgServer rugged
|
||||||
|
@ -6,7 +6,7 @@ echo "updating calendar from nextcloud"
|
|||||||
# public link to orgmode calendar of nextcloud https://cloud.tykayn.fr/index.php/apps/calendar/timeGridWeek/now
|
# public link to orgmode calendar of nextcloud https://cloud.tykayn.fr/index.php/apps/calendar/timeGridWeek/now
|
||||||
#URL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/abcdeffffffffffffffffff\?export"
|
#URL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/abcdeffffffffffffffffff\?export"
|
||||||
|
|
||||||
URL_CAL="https://nuage.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
URL_CAL="https://cloud.tykayn.fr/remote.php/dav/public-calendars/cHkSk5rG445MftpZ?export" # calendrier tkwulfi
|
||||||
echo $URL_CAL
|
echo $URL_CAL
|
||||||
|
|
||||||
wget $URL_CAL -O orgcalendar.ics --show-progress
|
wget $URL_CAL -O orgcalendar.ics --show-progress
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------------------------
|
||||||
#####################################################
|
#####################################################
|
||||||
source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
|
|
||||||
######################################################
|
######################################################
|
||||||
# liste de tous les projets pour chaque forge logicielle
|
# liste de tous les projets pour chaque forge logicielle
|
||||||
#####################################################
|
#####################################################
|
||||||
declare -a list_repos_framagit=("caisse-bliss" "joinfediverse" "date-poll-api" "mastodon" "peertube" "events-liberator" "gitall" "dotclear-importer" "mobilizon" "fanzine-log" "crossed-words" "generator-tk" "circles" "card-deck" "sfprobe" "mastermind" "portfolio" "time-tracker" "cipherbliss.com" "caisse-bliss-frontend" "compta" "trafficjam" "ical-generator" "blueprint-cipherbliss" "dotclear2wordpress" "api" "diaspora" )
|
declare -a list_repos_framagit=("caisse-bliss" "joinfediverse" "date-poll-api" "mastodon" "peertube" "events-liberator" "gitall" "dotclear-importer" "mobilizon" "fanzine-log" "crossed-words" "generator-tk" "circles" "card-deck" "sfprobe" "mastermind" "portfolio" "time-tracker" "cipherbliss.com" "caisse-bliss-frontend" "compta" "trafficjam" "ical-generator" "blueprint-cipherbliss" "dotclear2wordpress" "api" "diaspora" )
|
||||||
declare -a list_repos_forge_chapril=("transcription" "org-report-stats" "multi-account-post-schedule-mastodon" "framalibre-scraping" "scripts" "melting-pot" "funky-framadate-front" "rss-feeder-mobilizon" "mastodon-archive-stats" "gtg2json" "libreavous-audio-reader" "osm_my_commerce" "fromage-js" "ueberauth_openstreetmap" "events-liberator")
|
declare -a list_repos_forge_chapril=( "org-report-stats" "mastodon-wall" "melting-pot" "workflow" "mapping-geojson-osm" "rangement" "transcription" "org-report-stats" "multi-account-post-schedule-mastodon" "framalibre-scraping" "scripts" "melting-pot" "funky-framadate-front" "rss-feeder-mobilizon" "mastodon-archive-stats" "gtg2json" "libreavous-audio-reader" "osm_my_commerce" "fromage-js" "ueberauth_openstreetmap" "events-liberator")
|
||||||
|
|
||||||
prefix_framagit='https://framagit.org/tykayn/'
|
prefix_framagit='https://framagit.org/tykayn/'
|
||||||
prefix_forgechapril='https://forge.chapril.org/tykayn/'
|
prefix_forgechapril='https://forge.chapril.org/tykayn/'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# ajouter dans les scripts avec cette ligne:
|
# ajouter dans les scripts avec cette ligne:
|
||||||
#
|
#
|
||||||
# source ~/Nextcloud/ressources/workflow_nextcloud/workflow_variables.sh
|
# source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
export main_user="tykayn"
|
export main_user="tykayn"
|
||||||
@ -26,7 +26,7 @@ export stockage_syncable_folder=/home/poule/encrypted/stockage-syncable
|
|||||||
# dossier où stocker les projets de dev
|
# dossier où stocker les projets de dev
|
||||||
export www_folder=$stockage_syncable_folder/www/development/html/
|
export www_folder=$stockage_syncable_folder/www/development/html/
|
||||||
|
|
||||||
export node_version_expected=20
|
export node_version_expected="stable"
|
||||||
|
|
||||||
export today=`date` # to log current time
|
export today=`date` # to log current time
|
||||||
export ARCHIVE_SYNCABLE=$stockage_syncable_folder # place where we have our things sorted, other than home
|
export ARCHIVE_SYNCABLE=$stockage_syncable_folder # place where we have our things sorted, other than home
|
||||||
@ -36,7 +36,7 @@ export a_dispatcher="$ARCHIVE_SYNCABLE/photos/a_dispatcher" # dossier où sont
|
|||||||
export PHOTOS_TO_DISPATCH="$a_dispatcher"
|
export PHOTOS_TO_DISPATCH="$a_dispatcher"
|
||||||
export PHOTOS_FOLDER="$ARCHIVE_SYNCABLE/photos/"
|
export PHOTOS_FOLDER="$ARCHIVE_SYNCABLE/photos/"
|
||||||
|
|
||||||
export SPACESHIP_BORG_REPO="/home/poule/borg_archives/backup_land4to"
|
export SPACESHIP_BORG_REPO="/home/poule/borg_archives/borg2"
|
||||||
export SPACESHIP_NEW_BORG_REPO="/home/poule/borg_archives/borg2"
|
export SPACESHIP_NEW_BORG_REPO="/home/poule/borg_archives/borg2"
|
||||||
export BORG_REPO=$SPACESHIP_NEW_BORG_REPO
|
export BORG_REPO=$SPACESHIP_NEW_BORG_REPO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user