Restore complete wallpaper policies
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user