From 2e465803f59672eddbfd3ee16cf8307a75f417f1 Mon Sep 17 00:00:00 2001 From: Xyueta Date: Fri, 6 Oct 2023 23:00:17 +0200 Subject: [PATCH] fix: lockscreen wallpaper changing --- src/playbook/Configuration/tweaks.yml | 1 - .../Configuration/tweaks/qol/disable-lockscreen.yml | 10 ---------- ...ck Screen (default).reg => Hide Lock Screen.reg} | Bin ...ck Screen.reg => Show Lock Screen (default).reg} | Bin src/playbook/Executables/THEME.cmd | 2 +- 5 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 src/playbook/Configuration/tweaks/qol/disable-lockscreen.yml rename src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/{Hide Lock Screen (default).reg => Hide Lock Screen.reg} (100%) rename src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/{Show Lock Screen.reg => Show Lock Screen (default).reg} (100%) diff --git a/src/playbook/Configuration/tweaks.yml b/src/playbook/Configuration/tweaks.yml index b8b577187f..79443c78fc 100644 --- a/src/playbook/Configuration/tweaks.yml +++ b/src/playbook/Configuration/tweaks.yml @@ -148,7 +148,6 @@ features: - tweaks\qol\config-start-menu.yml - tweaks\qol\config-windows-ink-workspace.yml - tweaks\qol\disable-background-auto-login.yml - - tweaks\qol\disable-lockscreen.yml - tweaks\qol\disable-mouse-accel.yml - tweaks\qol\disable-settings-tips.yml - tweaks\qol\disable-spell-checking.yml diff --git a/src/playbook/Configuration/tweaks/qol/disable-lockscreen.yml b/src/playbook/Configuration/tweaks/qol/disable-lockscreen.yml deleted file mode 100644 index 552a55d4e7..0000000000 --- a/src/playbook/Configuration/tweaks/qol/disable-lockscreen.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Disable Lockscreen -description: Disables the lockscreen for QoL, as it is faster to go straight to the login screen over pressing space. It can be customized afterward -privilege: TrustedInstaller -actions: - - !registryValue: - path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization' - value: 'NoLockScreen' - data: '1' - type: REG_DWORD diff --git a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Hide Lock Screen (default).reg b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Hide Lock Screen.reg similarity index 100% rename from src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Hide Lock Screen (default).reg rename to src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Hide Lock Screen.reg diff --git a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Show Lock Screen.reg b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Show Lock Screen (default).reg similarity index 100% rename from src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Show Lock Screen.reg rename to src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/Lock Screen/Show Lock Screen (default).reg diff --git a/src/playbook/Executables/THEME.cmd b/src/playbook/Executables/THEME.cmd index 7073f6a4b9..be9768213e 100644 --- a/src/playbook/Executables/THEME.cmd +++ b/src/playbook/Executables/THEME.cmd @@ -13,7 +13,7 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query "HKEY_USERS" ^| findstr / ) ) -:: clear lockscreen cache +:: Clear lockscreen cache for /d %%a in ("%ProgramData%\Microsoft\Windows\SystemData\*") do ( for /d %%c in ("%%a\ReadOnly\LockScreen_*") do ( rd /s /q "%%c" > nul 2>&1