summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-06-18 20:53:36 +0100
committerAkshay <[email protected]>2023-06-18 20:53:36 +0100
commit8ebfc6dc049d5594e064e81e1e8cb32e871930d8 (patch)
tree2960cdfec217b0ccc228d0aeafcfbcf861c65edd
parent7156a4f8114d8542ba357690662de335d6f470e3 (diff)
include more examplesHEADmaster
-rw-r--r--.gitignore3
-rw-r--r--.nvimrc1
-rw-r--r--examples/0644
-rw-r--r--examples/0748
-rw-r--r--examples/0844
-rw-r--r--examples/0913
-rw-r--r--examples/1010
-rw-r--r--examples/entry26
-rw-r--r--flake.nix2
9 files changed, 162 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
index c45e1bd..f7ae058 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@
2!.gitignore 2!.gitignore
3!flake.* 3!flake.*
4!.nvimrc 4!.nvimrc
5!/examples/* 5!examples
6!examples/**
diff --git a/.nvimrc b/.nvimrc
index a48f8f9..745649e 100644
--- a/.nvimrc
+++ b/.nvimrc
@@ -21,7 +21,6 @@ augroup JournalSyntax
21 autocmd BufReadPost * highlight JournalAll ctermfg=12 21 autocmd BufReadPost * highlight JournalAll ctermfg=12
22 autocmd BufReadPost * highlight JournalHeader ctermfg=12 22 autocmd BufReadPost * highlight JournalHeader ctermfg=12
23 autocmd BufReadPost * highlight JournalDone ctermfg=12 23 autocmd BufReadPost * highlight JournalDone ctermfg=12
24 autocmd BufReadPost * highlight JournalMoved ctermfg=12
25 autocmd BufReadPost * highlight JournalEvent ctermfg=6 " cyan 24 autocmd BufReadPost * highlight JournalEvent ctermfg=6 " cyan
26 autocmd BufReadPost * highlight JournalMoved ctermfg=5 " pink 25 autocmd BufReadPost * highlight JournalMoved ctermfg=5 " pink
27 autocmd BufReadPost * highlight JournalNote ctermfg=3 " yellow 26 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 @@
1JUNE ---------------
2
3Mo Tu We Th Fr Sa Su
4 1 2 3 4
5 5 6 7 8 9 10 11
612 13 14 15 16 17 18
719 20 21 22 23 24 25
826 27 28 29 30
9
10
11WEEK 1 -------------
12
13> peel apples
14× buy apples
15× post letters
16× wash them
17
18
19WEEK 2 -------------
20
21o shopping trip
22> make apple pie
23× buy cookbook
24× replace brushes
25× watch pie recipe
26
27
28WEEK 3 -------------
29
30- weight: 70kg
31> renew gym sub
32> visit thrift store
33× make apple pie
34× return cookbook
35× scan cookbook
36
37
38WEEK 4 -------------
39
40o thrift store visit
41× make apple pie
42× renew gym sub
43× return cookbook
44× 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 @@
1JULY ---------------
2
3Mo Tu We Th Fr Sa Su
4 1 2
5 3 4 5 6 7 8 9
610 11 12 13 14 15 16
717 18 19 20 21 22 23
824 25 26 27 28 29 30
931
10
11
12WEEK 1 -------------
13
14o shopping trip
15o thrift store visit
16> make apple pie
17× buy cookbook
18× replace brushes
19× watch pie recipe
20
21
22WEEK 2 -------------
23
24- weight: 70kg
25> peel apples
26× buy apples
27× post letters
28× wash them
29
30
31WEEK 3 -------------
32
33o thrift store visit
34× make apple pie
35× renew gym sub
36× return cookbook
37× scan cookbook
38
39
40WEEK 4 -------------
41
42- weight: 70kg
43> renew gym sub
44> visit thrift store
45× make apple pie
46× return cookbook
47× scan cookbook
48
diff --git a/examples/08 b/examples/08
new file mode 100644
index 0000000..d3e91f4
--- /dev/null
+++ b/examples/08
@@ -0,0 +1,44 @@
1AUGUST -------------
2
3Mo Tu We Th Fr Sa Su
4 1 2 3 4 5 6
5 7 8 9 10 11 12 13
614 15 16 17 18 19 20
721 22 23 24 25 26 27
828 29 30 31
9
10
11WEEK 1 -------------
12
13o thrift store visit
14× make apple pie
15× renew gym sub
16× return cookbook
17× scan cookbook
18
19
20WEEK 2 -------------
21
22> peel apples
23× buy apples
24× post letters
25× wash them
26
27
28WEEK 3 -------------
29
30- weight: 70kg
31> renew gym sub
32> visit thrift store
33× make apple pie
34× return cookbook
35× scan cookbook
36
37
38WEEK 4 -------------
39
40· shopping trip
41· make apple pie
42· buy cookbook
43· replace brushes
44> 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 @@
1SEPTEMBER ----------
2
3Mo Tu We Th Fr Sa Su
4 1 2 3
5 4 5 6 7 8 9 10
611 12 13 14 15 16 17
718 19 20 21 22 23 24
825 26 27 28 29 30
9
10
11WEEK 1 -------------
12
13· 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 @@
1OCTOBER ------------
2
3Mo Tu We Th Fr Sa Su
4 1
5 2 3 4 5 6 7 8
6 9 10 11 12 13 14 15
716 17 18 19 20 21 22
823 24 25 26 27 28 29
930 31
10
diff --git a/examples/entry b/examples/entry
deleted file mode 100644
index edf2da4..0000000
--- a/examples/entry
+++ /dev/null
@@ -1,26 +0,0 @@
1JANUARY ------------
2
3Mo Tu We Th Fr Sa Su
4 1
5 2 3 4 5 6 7 8
6 9 10 11 12 13 14 15
716 17 18 19 20 21 22
823 24 25 26 27 28 29
930 31
10
11
12WEEK 1 -------------
13
14- weight: 68
15> publish new art
16> write blog post
17> rework scripts
18× create examples
19
20
21WEEK 2 -------------
22
23o dentist
24· publish new art
25· rework scripts
26· 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 @@
10 10
11 packages.x86_64-linux.default = 11 packages.x86_64-linux.default =
12 # starts nvim with 2 months of journal entries ahead and behind 12 # starts nvim with 2 months of journal entries ahead and behind
13 # nvim --cmd 'source .nvimrc' -O 2023/10 2023/11 2023/12 2024/01 13 # nvim --cmd 'source .nvimrc' -O 2023/10 2023/11 2023/12 2024/01 2024/02
14 pkgs.writeScriptBin "journal" '' 14 pkgs.writeScriptBin "journal" ''
15 nvim --cmd 'source .nvimrc' -O $( 15 nvim --cmd 'source .nvimrc' -O $(
16 ${pkgs.dateutils}/bin/dateseq \ 16 ${pkgs.dateutils}/bin/dateseq \