Blame


1 afa6ccff 2022-02-04 op # dotfiles
2 afa6ccff 2022-02-04 op
3 afa6ccff 2022-02-04 op Welcome to my new-new-new dotfiles repository!
4 afa6ccff 2022-02-04 op
5 afa6ccff 2022-02-04 op My last attempt to manage them was with org-mode, a terrific Emacs lisp
6 afa6ccff 2022-02-04 op program. It's really cool, but I never wanted to invest time in
7 afa6ccff 2022-02-04 op learning it properly, so here we are. I guess I could cite Ken Thompson
8 afa6ccff 2022-02-04 op
9 afa6ccff 2022-02-04 op > I can't understand something presented to me that's very complex.
10 afa6ccff 2022-02-04 op
11 afa6ccff 2022-02-04 op but it wouldn't be completely true. I understand and use complex stuff,
12 a4bf8a6f 2022-02-04 op but for some I just don't want to put the effort in. org-mode falls
13 a4bf8a6f 2022-02-04 op into this category.
14 afa6ccff 2022-02-04 op
15 afa6ccff 2022-02-04 op This is me reinventing a lightweight literate-programming style (mostly
16 afa6ccff 2022-02-04 op in AWK) and use it to manage my dotfiles, as well as for exporting them
17 afa6ccff 2022-02-04 op for the Geminispace and the WWW.
18 afa6ccff 2022-02-04 op
19 afa6ccff 2022-02-04 op To start using it:
20 afa6ccff 2022-02-04 op
21 afa6ccff 2022-02-04 op $ ./gen # generates Makefile.local
22 afa6ccff 2022-02-04 op $ make install # installs the dotfiles
23 afa6ccff 2022-02-04 op $ make publish # publishes for gemini and www
24 afa6ccff 2022-02-04 op $ make serve-www # serve the www site locally
25 afa6ccff 2022-02-04 op $ make serve-gem # serve the gemini site locally
26 afa6ccff 2022-02-04 op
27 afa6ccff 2022-02-04 op There are quite a few scripts that I think can be useful to other
28 afa6ccff 2022-02-04 op people:
29 afa6ccff 2022-02-04 op
30 afa6ccff 2022-02-04 op * unpar: gathers paragraphs and simple list that spans multiple lines
31 afa6ccff 2022-02-04 op into a single line; in other words it converts "markdown"-style
32 afa6ccff 2022-02-04 op paragraphs and lists to text/gemini.
33 afa6ccff 2022-02-04 op
34 afa6ccff 2022-02-04 op * gc: converts lines indented with tabs into markdown/gemtext style
35 afa6ccff 2022-02-04 op fenced code blocks.
36 afa6ccff 2022-02-04 op
37 afa6ccff 2022-02-04 op * gem2html: perl script that converts text/gemini to HTML with care.