From 8ebfc6dc049d5594e064e81e1e8cb32e871930d8 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 19 Jun 2023 01:23:36 +0530 Subject: include more examples --- .gitignore | 3 ++- .nvimrc | 1 - examples/06 | 44 ++++++++++++++++++++++++++++++++++++++++++++ examples/07 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ examples/08 | 44 ++++++++++++++++++++++++++++++++++++++++++++ examples/09 | 13 +++++++++++++ examples/10 | 10 ++++++++++ examples/entry | 26 -------------------------- flake.nix | 2 +- 9 files changed, 162 insertions(+), 29 deletions(-) create mode 100644 examples/06 create mode 100644 examples/07 create mode 100644 examples/08 create mode 100644 examples/09 create mode 100644 examples/10 delete mode 100644 examples/entry diff --git a/.gitignore b/.gitignore index c45e1bd..f7ae058 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ !.gitignore !flake.* !.nvimrc -!/examples/* +!examples +!examples/** diff --git a/.nvimrc b/.nvimrc index a48f8f9..745649e 100644 --- a/.nvimrc +++ b/.nvimrc @@ -21,7 +21,6 @@ augroup JournalSyntax autocmd BufReadPost * highlight JournalAll ctermfg=12 autocmd BufReadPost * highlight JournalHeader ctermfg=12 autocmd BufReadPost * highlight JournalDone ctermfg=12 - autocmd BufReadPost * highlight JournalMoved ctermfg=12 autocmd BufReadPost * highlight JournalEvent ctermfg=6 " cyan autocmd BufReadPost * highlight JournalMoved ctermfg=5 " pink autocmd BufReadPost * highlight JournalNote ctermfg=3 " yellow diff --git a/examples/06 b/examples/06 new file mode 100644 index 0000000..0e4ed05 --- /dev/null +++ b/examples/06 @@ -0,0 +1,44 @@ +JUNE --------------- + +Mo Tu We Th Fr Sa Su + 1 2 3 4 + 5 6 7 8 9 10 11 +12 13 14 15 16 17 18 +19 20 21 22 23 24 25 +26 27 28 29 30 + + +WEEK 1 ------------- + +> peel apples +× buy apples +× post letters +× wash them + + +WEEK 2 ------------- + +o shopping trip +> make apple pie +× buy cookbook +× replace brushes +× watch pie recipe + + +WEEK 3 ------------- + +- weight: 70kg +> renew gym sub +> visit thrift store +× make apple pie +× return cookbook +× scan cookbook + + +WEEK 4 ------------- + +o thrift store visit +× make apple pie +× renew gym sub +× return cookbook +× scan cookbook diff --git a/examples/07 b/examples/07 new file mode 100644 index 0000000..4428cbd --- /dev/null +++ b/examples/07 @@ -0,0 +1,48 @@ +JULY --------------- + +Mo Tu We Th Fr Sa Su + 1 2 + 3 4 5 6 7 8 9 +10 11 12 13 14 15 16 +17 18 19 20 21 22 23 +24 25 26 27 28 29 30 +31 + + +WEEK 1 ------------- + +o shopping trip +o thrift store visit +> make apple pie +× buy cookbook +× replace brushes +× watch pie recipe + + +WEEK 2 ------------- + +- weight: 70kg +> peel apples +× buy apples +× post letters +× wash them + + +WEEK 3 ------------- + +o thrift store visit +× make apple pie +× renew gym sub +× return cookbook +× scan cookbook + + +WEEK 4 ------------- + +- weight: 70kg +> renew gym sub +> visit thrift store +× make apple pie +× return cookbook +× scan cookbook + diff --git a/examples/08 b/examples/08 new file mode 100644 index 0000000..d3e91f4 --- /dev/null +++ b/examples/08 @@ -0,0 +1,44 @@ +AUGUST ------------- + +Mo Tu We Th Fr Sa Su + 1 2 3 4 5 6 + 7 8 9 10 11 12 13 +14 15 16 17 18 19 20 +21 22 23 24 25 26 27 +28 29 30 31 + + +WEEK 1 ------------- + +o thrift store visit +× make apple pie +× renew gym sub +× return cookbook +× scan cookbook + + +WEEK 2 ------------- + +> peel apples +× buy apples +× post letters +× wash them + + +WEEK 3 ------------- + +- weight: 70kg +> renew gym sub +> visit thrift store +× make apple pie +× return cookbook +× scan cookbook + + +WEEK 4 ------------- + +· shopping trip +· make apple pie +· buy cookbook +· replace brushes +> watch pie recipe diff --git a/examples/09 b/examples/09 new file mode 100644 index 0000000..b48333c --- /dev/null +++ b/examples/09 @@ -0,0 +1,13 @@ +SEPTEMBER ---------- + +Mo Tu We Th Fr Sa Su + 1 2 3 + 4 5 6 7 8 9 10 +11 12 13 14 15 16 17 +18 19 20 21 22 23 24 +25 26 27 28 29 30 + + +WEEK 1 ------------- + +· watch pie recipe diff --git a/examples/10 b/examples/10 new file mode 100644 index 0000000..853a3f6 --- /dev/null +++ b/examples/10 @@ -0,0 +1,10 @@ +OCTOBER ------------ + +Mo Tu We Th Fr Sa Su + 1 + 2 3 4 5 6 7 8 + 9 10 11 12 13 14 15 +16 17 18 19 20 21 22 +23 24 25 26 27 28 29 +30 31 + diff --git a/examples/entry b/examples/entry deleted file mode 100644 index edf2da4..0000000 --- a/examples/entry +++ /dev/null @@ -1,26 +0,0 @@ -JANUARY ------------ - -Mo Tu We Th Fr Sa Su - 1 - 2 3 4 5 6 7 8 - 9 10 11 12 13 14 15 -16 17 18 19 20 21 22 -23 24 25 26 27 28 29 -30 31 - - -WEEK 1 ------------- - -- weight: 68 -> publish new art -> write blog post -> rework scripts -× create examples - - -WEEK 2 ------------- - -o dentist -· publish new art -· rework scripts -· write blog post diff --git a/flake.nix b/flake.nix index 6455bbf..93ef86c 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,7 @@ packages.x86_64-linux.default = # starts nvim with 2 months of journal entries ahead and behind - # nvim --cmd 'source .nvimrc' -O 2023/10 2023/11 2023/12 2024/01 + # nvim --cmd 'source .nvimrc' -O 2023/10 2023/11 2023/12 2024/01 2024/02 pkgs.writeScriptBin "journal" '' nvim --cmd 'source .nvimrc' -O $( ${pkgs.dateutils}/bin/dateseq \ -- cgit v1.2.3