dotcli: Implement dot kde apply for schema-backed settings

Pushes every manifest entry's declared value onto the live system via
kwriteconfig6, idempotently. Non-schema (shortcuts/freeform) entries are
rejected as not-yet-supported, deferred to later tasks.
This commit is contained in:
2026-07-05 19:56:32 -04:00
parent c28029681d
commit f7b9f1b251
5 changed files with 137 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ function _dot_kde_usage
echo "usage: dot kde <command>
Commands:
apply push manifest entries onto the live system
save write live KDE settings into the manifest
help show this message
@@ -17,6 +18,9 @@ function _dot_kde
set -l helper_dir (status dirname)
switch "$argv[1]"
case apply
python3 $helper_dir/kde.py apply $argv[2..-1]
return $status
case save
python3 $helper_dir/kde.py save $argv[2..-1]
return $status