diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-26 12:36:47 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-26 12:36:47 +0200 |
| commit | f5948fc5a6ec7ca91c6f454ca119a453a0ecb1a8 (patch) | |
| tree | 2a26efd65952afb21f6694d1f25ea1190bdf407c /examples/tools/updates.toml | |
| parent | 746e8c05512675b1c059d73f5f54d977d5e8e8e3 (diff) | |
| download | desktop-assistant-f5948fc5a6ec7ca91c6f454ca119a453a0ecb1a8.tar.gz desktop-assistant-f5948fc5a6ec7ca91c6f454ca119a453a0ecb1a8.zip | |
Add a Slackware updates tool and a restart script
updates.py compares the -current ChangeLog with the installed package
database: the newest batch holding an installed package is the last one
applied, everything newer is pending. The spoken summary gives counts,
security fixes and a kernel bump, never package lists; report=true writes
a full markdown recap and opens it in MD_EDITOR, detached.
restart.sh stops a running assistant and its quickshell overlay and
starts both again in their own session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/updates.toml')
| -rw-r--r-- | examples/tools/updates.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/tools/updates.toml b/examples/tools/updates.toml new file mode 100644 index 0000000..86eac1d --- /dev/null +++ b/examples/tools/updates.toml @@ -0,0 +1,11 @@ +description = "Pending Slackware -current upgrades: ChangeLog entries not yet installed. Summary gives counts (upgraded, rebuilt, new, removed, security fixes) and a pending kernel version bump; say the counts, never read package lists aloud. Can instead open a written markdown recap in the user's editor, or give one package's ChangeLog notes. Read-only." +command = ["updates.py", "{package}", "{report}"] +timeout = 10 + +[params.package] +type = "string" +description = "Package name (e.g. php) for its pending ChangeLog notes. Empty for the summary." + +[params.report] +type = "boolean" +description = "true to write the full recap and open it in the editor. Only when the user said yes to it." |
