Restore complete wallpaper policies

This commit is contained in:
Gabriel Brown
2026-08-18 15:00:18 -04:00
parent c36e423890
commit b9336d5930
4 changed files with 16 additions and 12 deletions
@@ -47,7 +47,7 @@ for mapping in \
'Displays.externalChangeBlocked = blocked;' \
'SystemSettings.applyPersistedDisplayPolicy();' \
'Keybinds.applyReload();' \
'Wallpaper.set(path);' \
'Wallpaper.applyCurrentPolicy(false);' \
'LockScreen.regenerate();' \
'Quickshell.reload(false);'; do
rg -Fq "$mapping" "$service" || fail "production restore seam is missing: $mapping"
@@ -88,7 +88,7 @@ jq -e '
"display.protect:{\"DP-2\":{\"mode\":\"4500x3000@60\",\"scale\":1.5,\"transform\":0}}",
"system.apply",
"keybinds.reload",
"wallpaper.set:/tmp/restored-wallpaper.jpg",
"wallpaper.apply-policy",
"lock.regenerate",
"display.block:false",
"shell.reload"
@@ -127,7 +127,7 @@ jq -e '
"display.protect:{\"DP-2\":{\"mode\":\"4500x3000@60\",\"scale\":1.5,\"transform\":0}}",
"system.apply",
"keybinds.reload",
"wallpaper.set:/tmp/restored-wallpaper.jpg",
"wallpaper.apply-policy",
"lock.regenerate",
"display.block:false",
"shell.reload"