Add mani config

This commit is contained in:
JLP 2026-05-26 15:55:08 -04:00
parent 2a99c98750
commit ae139c5f93
Signed by: jleechpe
GPG key ID: 414E00D1FF7519DC
5 changed files with 143 additions and 0 deletions

View file

@ -1443,6 +1443,19 @@ contextual information."
(:time-grid t (:time-grid t
:order -1)))) :order -1))))
;; ***** org-transclusion
(use-package org-transclusion
:after org
:init
(setq org-transclusion-exclude-elements '(property-drawer planning))
:general
("S-<f12>" #'org-transclusion-add)
("C-c t m" #'org-transclusion-transient-menu))
(use-package org-transclusion-font-lock
:after org
:config (org-transclusion-font-lock-mode +1))
;; **** Extra functionality ;; **** Extra functionality
;; ***** verb ;; ***** verb
(use-package verb (use-package verb

View file

@ -0,0 +1,44 @@
shell: bash
sync_remotes: false
sync_gitignore: false
reload_tui_on_change: true
targets:
default:
all: true
tasks:
git-branch:
cmd: git branch --show-current
desc: Current Git Branch
git-status:
cmd: |
ahead=$(git rev-list --count @{u}..HEAD 2>/dev/null || echo 0)
behind=$(git rev-list --count HEAD..@{u} 2>/dev/null || echo 0)
stats=$(git status --porcelain | awk 'BEGIN{s=0;u=0;n=0} /^\?\?/{n++} /^[MADRC]./{s++} /^.[MADRC]/{u++} END{if(s)printf "+%d ",s; if(u)printf "~%d ",u; if(n)printf "?%d",n}')
echo "↑$ahead ↓$behind $stats"
desc: Git repo state
git-lastcommit-date:
cmd: |
git log -1 --format="%cd (%cr)" -n 1 --date=format:"%d %b %y" 2>/dev/null \
| sed 's/ //'
desc: Most recent git commit date
git-lastcommit-msg:
cmd: git log -1 --pretty=%B 2>/dev/null
desc: Most recent git commit message
git-info:
commands:
- task: git-branch
- task: git-status
- task: git-lastcommit-date
- task: git-lastcommit-msg
desc: Repo Info
spec:
output: table

15
mani/.mani.yml Normal file
View file

@ -0,0 +1,15 @@
import:
- ~/sources/perso/.mani.yml
projects:
gopass-perso:
sync: true
path: sources/gopass/perso
desc: Personal gopass
tags: [pass, perso]
gopass-jlptech:
sync: true
path: sources/gopass/jlptech
desc: JLPTech gopass
tags: [pass, consulting]

View file

@ -0,0 +1,16 @@
import:
- writing/.mani.yml
projects:
dotfiles:
sync: true
path: ~/sources/perso/dotfiles
desc: Stow Dotfiles
url: https://forgejo.leechpepin.com/jleechpe/dotfiles.git
tags: [config, perso]
vitae:
sync: true
path: ~/sources/perso/vitae
url: git@codeberg.org:jleechpe/vita.git
tags: [perso]

View file

@ -0,0 +1,55 @@
projects:
ConfluenceSaga:
url: https://forgejo.leechpepin.com/jleechpe/ConfluenceSaga
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/ConfluenceSaga
desc: ConfluenceSaga Fic
dragons:
url: https://forgejo.leechpepin.com/jleechpe/dragons
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/dragons
desc: Somewhere be Dragons Fic
jlpenname:
url: https://forgejo.leechpepin.com/jleechpe/jlpenname.com
sync: true
tags: [perso, writing, hugo]
path: ~/sources/perso/writing/jlpenname
desc: Author Site
shorts:
url: https://forgejo.leechpepin.com/jleechpe/shorts
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/shorts
desc: Short Stories
timeshorn:
url: https://forgejo.leechpepin.com/jleechpe/timeshorn
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/timeshorn
desc: Timeshorn Quartet
duality:
url: https://forgejo.leechpepin.com/jleechpe/duality
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/duality
desc: Duality Fic
virtually-real:
url: https://forgejo.leechpepin.com/jleechpe/virtually-real
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/virtually-real
desc: Virtual Real Fic
lars-leigh:
url: https://forgejo.leechpepin.com/jleechpe/lars-leigh
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/lars-leigh
desc: Lars/LEIGH Fic
craftbook:
url: https://forgejo.leechpepin.com/jleechpe/craftbook
sync: true
tags: [perso, writing]
path: ~/sources/perso/writing/craftbook
desc: Craft Book