~rootmos/scripts

4670c8efc53d367cdb511d0c55b49d0690a1d183 — Gustav Behm a month ago afdb12d
Describe some more scripts
3 files changed, 21 insertions(+), 4 deletions(-)

M README.md
M scripts.py
M scripts.toml
M README.md => README.md +7 -3
@@ 2,7 2,11 @@

[![builds.sr.ht status](https://builds.sr.ht/~rootmos/scripts.svg)](https://builds.sr.ht/~rootmos/scripts)

* [term](term)]: Run a program in a new terminal or in the current terminal if available
* [term](term): Run a program in a new terminal or in the current terminal if available
* [build-info](build-info): Figure out the information about the current environment and render it into a shell environment variables file, C constants or a Lua table
* [dorker](dorker): After an embarrasing number of misspelings of dorker, I mean docker (the r and c keys are adjacent in the Dvorak layout), this is is my resulting convenience wrapper
* [cult](cult): How I endure the cult of rust
## ArchLinux management scripts
* [clean](clean)]: Cleanup pacman cached, orphaned and/or explicitly installed packages, and coredumps
* [update](update)]: Update ArchLinux packages and rust, haskell, ocaml caches and nvim plugins
* [clean](clean): Cleanup pacman cached, orphaned and/or explicitly installed packages, and coredumps
* [update](update): Update ArchLinux packages and rust, haskell, ocaml caches and nvim plugins
* [pkg-add](pkg-add): Install or die package(s) or file(s)

M scripts.py => scripts.py +1 -1
@@ 29,7 29,7 @@ def run(scripts, o):

        for fn, s in section.get("scripts", {}).items():
            o.write("* ")
            o.write(f"[{fn}]({fn})]")
            o.write(f"[{fn}]({fn})")
            d = s.get("description")
            if d:
                o.write(": ")

M scripts.toml => scripts.toml +13 -0
@@ 1,6 1,15 @@
[scripts.term]
description = "Run a program in a new terminal or in the current terminal if available"

[scripts.build-info]
description = "Figure out the information about the current environment and render it into a shell environment variables file, C constants or a Lua table"

[scripts.dorker]
description = "After an embarrasing number of misspelings of dorker, I mean docker (the r and c keys are adjacent in the Dvorak layout), this is is my resulting convenience wrapper"

[scripts.cult]
description = "How I endure the cult of rust"


[section.archlinux]
title = "ArchLinux management scripts"


@@ 12,3 21,7 @@ description = "Cleanup pacman cached, orphaned and/or explicitly installed packa
[scripts.update]
section = "archlinux"
description = "Update ArchLinux packages and rust, haskell, ocaml caches and nvim plugins"

[scripts.pkg-add]
section = "archlinux"
description = "Install or die package(s) or file(s)"