diff --git a/emacs/.config/emacs/post-init.el b/emacs/.config/emacs/post-init.el index 9718232..2788275 100644 --- a/emacs/.config/emacs/post-init.el +++ b/emacs/.config/emacs/post-init.el @@ -1443,6 +1443,19 @@ contextual information." (:time-grid t :order -1)))) +;; ***** org-transclusion +(use-package org-transclusion + :after org + :init + (setq org-transclusion-exclude-elements '(property-drawer planning)) + :general + ("S-" #'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 ;; ***** verb (use-package verb diff --git a/mani/.config/mani/config.yaml b/mani/.config/mani/config.yaml new file mode 100644 index 0000000..5a1a586 --- /dev/null +++ b/mani/.config/mani/config.yaml @@ -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 diff --git a/mani/.mani.yml b/mani/.mani.yml new file mode 100644 index 0000000..cfe4bd5 --- /dev/null +++ b/mani/.mani.yml @@ -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] diff --git a/mani/sources/perso/.mani.yml b/mani/sources/perso/.mani.yml new file mode 100644 index 0000000..db5ceee --- /dev/null +++ b/mani/sources/perso/.mani.yml @@ -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] diff --git a/mani/sources/perso/writing/.mani.yml b/mani/sources/perso/writing/.mani.yml new file mode 100644 index 0000000..fb0c26d --- /dev/null +++ b/mani/sources/perso/writing/.mani.yml @@ -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