From 983ccebe8c59757b22961770344d5cb160644cff Mon Sep 17 00:00:00 2001 From: 36conaN Date: Fri, 12 Jul 2024 22:29:05 +0200 Subject: [PATCH 1/2] feat: disable narrator and screen capture shortcuts -disable narrator keyboard shortcut -disable print screen key opening screen capture when snipping tool is removed --- src/playbook/Configuration/tweaks.yml | 1 + .../tweaks/qol/disable-screen-capture-hotkey.yml | 9 +++++++++ .../disable-annoying-features-shortcuts.yml | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml diff --git a/src/playbook/Configuration/tweaks.yml b/src/playbook/Configuration/tweaks.yml index 0afbe04eed..85d5f4b88d 100644 --- a/src/playbook/Configuration/tweaks.yml +++ b/src/playbook/Configuration/tweaks.yml @@ -158,6 +158,7 @@ actions: - !task: {path: 'tweaks\qol\visual-effects.yml'} - !task: {path: 'tweaks\qol\disable-tips.yml'} - !task: {path: 'tweaks\qol\disable-win11-settings-banner.yml'} + - !task: {path: 'tweaks\qol\disable-screen-capture-hotkey.yml', option: 'remove-snipping-tool'} # -------------------------------------------------------------------------- # # qol\appearance # diff --git a/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml b/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml new file mode 100644 index 0000000000..2ea6f5c784 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml @@ -0,0 +1,9 @@ +--- +title: Disable screen capture hotkey +description: Disables using the print screen key to open screen capture when snipping tool is removed +actions: + - !registryValue: + path: 'HKCU\Control Panel\Keyboard' + value: 'PrintScreenKeyForSnippingEnabled' + data: '0' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml b/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml index ff8c593e4b..ad3fee769d 100644 --- a/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml +++ b/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml @@ -46,3 +46,10 @@ actions: value: 'Hotkey' data: '3' type: REG_DWORD + + # Disable narrator shortcut + - !registryValue: + path: 'HKCU\Software\Microsoft\Narrator\NoRoam' + value: 'WinEnterLaunchEnabled' + data: '0' + type: REG_DWORD From 9e9be0a6832d71a65a1b773209cafb6d9e933e73 Mon Sep 17 00:00:00 2001 From: 36conaN Date: Fri, 12 Jul 2024 22:43:38 +0200 Subject: [PATCH 2/2] fix: capitalization --- .../tweaks/qol/disable-screen-capture-hotkey.yml | 4 ++-- .../ease-of-access/disable-annoying-features-shortcuts.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml b/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml index 2ea6f5c784..0571b5c7e9 100644 --- a/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml +++ b/src/playbook/Configuration/tweaks/qol/disable-screen-capture-hotkey.yml @@ -1,6 +1,6 @@ --- -title: Disable screen capture hotkey -description: Disables using the print screen key to open screen capture when snipping tool is removed +title: Disable Screen Capture Hotkey +description: Disables using the print screen key to open Screen Capture when Snipping Tool is removed actions: - !registryValue: path: 'HKCU\Control Panel\Keyboard' diff --git a/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml b/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml index ad3fee769d..63a0045d65 100644 --- a/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml +++ b/src/playbook/Configuration/tweaks/qol/ease-of-access/disable-annoying-features-shortcuts.yml @@ -47,7 +47,7 @@ actions: data: '3' type: REG_DWORD - # Disable narrator shortcut + # Disable Narrator shortcut - !registryValue: path: 'HKCU\Software\Microsoft\Narrator\NoRoam' value: 'WinEnterLaunchEnabled'