writing: Restructure module layout per-program

Similarly to the qutebrowser module we change the layout to have a
program name at the top-level and all required files for that specific
program within, whether they reside within .config, .local or anywhere
else.
We use dotter mappings to achieve this.
This commit is contained in:
Marty Oehme 2024-09-18 16:43:15 +02:00
parent 0903e7e443
commit 85c152a07c
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
19 changed files with 8 additions and 2 deletions

View file

@ -67,8 +67,14 @@ social = "~"
[writing.files] [writing.files]
"writing/README.md" = { target = "~/NOWHERE", type = "symbolic", if = "false" } "writing/README.md" = { target = "~/NOWHERE", type = "symbolic", if = "false" }
"writing/.config/papis/papistui.yaml" = { target = "~/.config/papis/papistui.yaml", type = "symbolic" } "writing/jrnl" = "~/.config/jrnl"
"writing/.config/sioyek/prefs_user.config" = { target = "~/.config/sioyek/prefs_user.config", type = "template", prepend = "# TEMPLATED BY DOTTER\n" } "writing/papis/papistui.yaml" = { target = "~/.config/papis/papistui.yaml", type = "symbolic" }
"writing/papis" = "~/.config/papis"
"writing/sioyek/prefs_user.config" = { target = "~/.config/sioyek/prefs_user.config", type = "template", prepend = "# TEMPLATED BY DOTTER\n" }
"writing/sioyek" = "~/.config/sioyek"
"writing/zathura" = "~/.config/zathura"
"writing/zk" = "~/.config"
"writing/pandoc/local" = "~/.local"
writing = "~" writing = "~"
# WORKSTATION: A desktop machine, with wayland environment and display attached. # WORKSTATION: A desktop machine, with wayland environment and display attached.