From 622c0e2c8c44036c72ba27536bdfc0f06b094f40 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Tue, 25 Jan 2022 18:50:43 +0100 Subject: [PATCH] Auto saved by Logseq --- logseq/.config.edn.swp | Bin 12288 -> 12288 bytes ...logseq_config.edn.2022-01-25T17_49_49.588Z | 89 ++++++++++ logseq/config.edn | 158 +++++++++--------- 3 files changed, 168 insertions(+), 79 deletions(-) create mode 100644 logseq/bak/logseq_config.edn.2022-01-25T17_49_49.588Z diff --git a/logseq/.config.edn.swp b/logseq/.config.edn.swp index 3f0fb1259a32ecffd41cfecb519fbb654a2d1cf9..f030bdbb60a84df2316a05bb7ea8c84070689f5d 100644 GIT binary patch delta 1065 zcmaLVTSyd97zgmr>|(8z+GZDHJ#Ot~cAHt#EFHTDQQ7@MWwvZO?vCroxVz2FLMEXV zLQoIY7f}%O5K0sT=3m|6=4(+)z^+`)1^D5Z}anLXe?h8<~0u$7md&D9nB}|oHh|^&V@0)&L#Q+ z@4!t2 z0U5r#h;G9vupkM0p&HyU1wPCo8ip(2z(H68Ghu8d(MuSF!_Wv-Fb{qd5PgQ>f?jOK zBn!Kt2Fl>m45CMH3vNO`Bq0Wepcy*%&(UQ6?Ck#uEJ87$1c)i5Cd{S|Jy@*EJO)V8S zv{Woc#AkedzUwRJS3b8(?b6~_+7>;>iN}2nE~MM^c)Clsi5vWaHGd=D^j8#NeN);J z`cbVbW9lmLNB^4H(HN=7c4?^u;!?oFjRA?Rz(PI~@bjoNpPvML{4KDU3xZ|5HCW6> z$c^tZPQ%5ZpYI1t_+_xPN;SKyIyv{or#3LM^3_Ch{r#ZQJ z-SW+R0-i13?@~LAL_$vqbd$q!Id79!a-Zz3QIm!vXR>yOZ0m7btf-_vE2cTIvZ|8s zESn8S*t+8wsicj^eIYO8FLIbmlsew7)bL5AfgdSlJff`T1(8x#A{D$l;$}TEkGmr+ dJ~d;dJMqhi9-6$N+@{%vExZZMFuT2iegl`!5mx{J delta 1137 zcmZ9~T}T{P6bJAt+D5B3er~nZ&2iG*o!NDE{b-AhMFSzxrimpaHbpTw?p$}r?#|em z*{Uq<8iFJ(c?mb9eF%h7`t^`XkYXu)Dh&n_NFUmeLP!WiUqV4GeQHblpS6f|;CGol z_ndq8p1BJX3lo9KjyGRBMm_N^hNp(Hbk~Odw|qVDYiY^I@1etwp*Z(#+_!0S*8Yt@Y1hFkC*d;yoB0Pn*Q zh(Zurt672FtYT~ddf-K9fO@EdUn&{92pmqpAap`4Y(B%-16YBNz=5NXfI4_k!Pt-R z3CuwPnxF(8l{5AOER`1+JCBzn^g|Q;wFe3CIh+FvvM>lTv_dm9!TqOkQuqocU;w&d z3msjDJFo;F!Ur%1!_W)Gt}mCBT`nynjYv#~f&tQI^b~hh!*qDkvz>X8Bu3&&NU5j3 zJ{lXF%IH?o)UEMxhWOo3So|3xiL|WlylvRCR^namxTbAU7xRNj$95_I9#XaNfogw= zNuIQ`+(l$DOeG{f3lCxZE!# zqKIpeW^p4D5l~j@e;YK! zB!7eMv0WQn`jUpEIor`Xa=9sa~V&4C&wML*pRca7!LMz>>$R?Sbu0& zK0X7QxKrbCbV&D#Rma;0k^gaVeAqrxO|5ja|bg8prCzQ!-hh9MlUuMws$mO1AS}7Nw9uaNE;ZxjkxS>wjPFDAd zcLfs`=LUH;D&zI|C&73x##8Z^F= ?d ?start)] + [(<= ?d ?today)] + [(contains? #{"NOW" "DOING"} ?marker)]] + :inputs [:14d :today] + :result-transform (fn [result] + (sort-by (fn [h] + (get h :block/priority "Z")) result)) + :collapsed? false} + {:title "📅 NEXT" + :query [:find (pull ?h [*]) + :in $ ?start ?next + :where + [?h :block/marker ?marker] + [?h :block/ref-pages ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(> ?d ?start)] + [(< ?d ?next)] + [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] + :inputs [:today :7d-after] + :collapsed? false}]} + + ;; Add your own commands to speedup. + ;; E.g. [["js" "Javascript"]] + :commands + [] + + ;; Macros replace texts and will make you more productive. + ;; For example: + ;; Add this to the macros below: + ;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} + ;; input "{{{poem(red,blue)}}}" + ;; becomes + ;; Rose is red, violet's blue. Life's ordered: Org assists you. + :macros {} + :markdown/version 2 + :date-formatter "yyyy-MM-dd" + :editor/logical-outdenting? false + + :journal/page-title-format "yyyy-MM-dd"} diff --git a/logseq/config.edn b/logseq/config.edn index 252400788..069a1fe93 100644 --- a/logseq/config.edn +++ b/logseq/config.edn @@ -1,89 +1,89 @@ +{:journal-basis "daily" - {:journal-basis "daily" +:project { + ;; Selected public notes can be published to https://logseq.com/your-project-or-your-username. + :name "" + :alias "" + ;; your twitter handle + :twitter "" + ;; description supports both hiccup and html + :description ""} - :project { - ;; Selected public notes can be published to https://logseq.com/your-project-or-your-username. - :name "" - :alias "" - ;; your twitter handle - :twitter "" - ;; description supports both hiccup and html - :description ""} +;; Currently, we support either "Markdown" or "Org". +;; This can overwrite your global preference so that +;; maybe your personal preferred format is Org but you'd +;; need to use Markdown for some projects. +;; :preferred-format "" - ;; Currently, we support either "Markdown" or "Org". - ;; This can overwrite your global preference so that - ;; maybe your personal preferred format is Org but you'd - ;; need to use Markdown for some projects. - ;; :preferred-format "" +;; Git settings +:git-pull-secs 60 +:git-push-secs 10 +:git-auto-push true - ;; Git settings - :git-pull-secs 60 - :git-push-secs 10 - :git-auto-push true +;; The app will ignore those directories or files. +;; E.g. "/archived" "/test.md" +:hidden [] - ;; The app will ignore those directories or files. - ;; E.g. "/archived" "/test.md" - :hidden [] +;; When creating the new journal page, the app will use your template content here. +;; Example for Markdown users: "## [[Work]]\n###\n## [[Family]]\n###\n +;; Example for Org mode users: "** [[Work]]\n***\n** [[Family]]\n***\n +:default-templates +{:journals ""} - ;; When creating the new journal page, the app will use your template content here. - ;; Example for Markdown users: "## [[Work]]\n###\n## [[Family]]\n###\n - ;; Example for Org mode users: "** [[Work]]\n***\n** [[Family]]\n***\n - :default-templates - {:journals ""} - :pages-directory "" - :journals-directory "journal" +;; The app will show those queries in today's journal page, +;; the "NOW" query asks the tasks which need to be finished "now", +;; the "NEXT" query asks the future tasks. +:default-queries +{:journals + [{:title "🔨 NOW" + :query [:find (pull ?h [*]) + :in $ ?start ?today + :where + [?h :block/marker ?marker] + [?h :block/page ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(>= ?d ?start)] + [(<= ?d ?today)] + [(contains? #{"NOW" "DOING"} ?marker)]] + :inputs [:14d :today] + :result-transform (fn [result] + (sort-by (fn [h] + (get h :block/priority "Z")) result)) + :collapsed? false} + {:title "📅 NEXT" + :query [:find (pull ?h [*]) + :in $ ?start ?next + :where + [?h :block/marker ?marker] + [?h :block/ref-pages ?p] + [?p :page/journal? true] + [?p :page/journal-day ?d] + [(> ?d ?start)] + [(< ?d ?next)] + [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] + :inputs [:today :7d-after] + :collapsed? false}]} - ;; The app will show those queries in today's journal page, - ;; the "NOW" query asks the tasks which need to be finished "now", - ;; the "NEXT" query asks the future tasks. - :default-queries - {:journals - [{:title "🔨 NOW" - :query [:find (pull ?h [*]) - :in $ ?start ?today - :where - [?h :block/marker ?marker] - [?h :block/page ?p] - [?p :page/journal? true] - [?p :page/journal-day ?d] - [(>= ?d ?start)] - [(<= ?d ?today)] - [(contains? #{"NOW" "DOING"} ?marker)]] - :inputs [:14d :today] - :result-transform (fn [result] - (sort-by (fn [h] - (get h :block/priority "Z")) result)) - :collapsed? false} - {:title "📅 NEXT" - :query [:find (pull ?h [*]) - :in $ ?start ?next - :where - [?h :block/marker ?marker] - [?h :block/ref-pages ?p] - [?p :page/journal? true] - [?p :page/journal-day ?d] - [(> ?d ?start)] - [(< ?d ?next)] - [(contains? #{"NOW" "LATER" "TODO"} ?marker)]] - :inputs [:today :7d-after] - :collapsed? false}]} +;; Add your own commands to speedup. +;; E.g. [["js" "Javascript"]] +:commands +[] - ;; Add your own commands to speedup. - ;; E.g. [["js" "Javascript"]] - :commands - [] +;; Macros replace texts and will make you more productive. +;; For example: +;; Add this to the macros below: +;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} +;; input "{{{poem(red,blue)}}}" +;; becomes +;; Rose is red, violet's blue. Life's ordered: Org assists you. +:macros {} + :markdown/version 2 + :date-formatter "yyyy-MM-dd" + :editor/logical-outdenting? false - ;; Macros replace texts and will make you more productive. - ;; For example: - ;; Add this to the macros below: - ;; {"poem" "Rose is $1, violet's $2. Life's ordered: Org assists you."} - ;; input "{{{poem(red,blue)}}}" - ;; becomes - ;; Rose is red, violet's blue. Life's ordered: Org assists you. - :macros {} - :markdown/version 2 - :date-formatter "yyyy-MM-dd" - :editor/logical-outdenting? false - - :journal/page-title-format "yyyy-MM-dd"} +;; [[flancian]] +:journal/page-title-format "yyyy-MM-dd"} +:pages-directory "" +:journals-directory "journal"