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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user