Skip to content

Commit

Permalink
Merge pull request #8 from whatk233:new_tweaks
Browse files Browse the repository at this point in the history
feat(rules): Taskbar searchbox
feat(rules): Taskbar align
update(rules): ClearPageFileAtShutdown tips
  • Loading branch information
whatk233 authored May 5, 2023
2 parents b0f6c68 + de713ef commit 35b3663
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 3 deletions.
13 changes: 13 additions & 0 deletions tweaks/OOBE/SetPersonalDataExportIsShow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
meta:
en:
name: Disable "Your data will be processed outside of your country or region" notice
from: https://support.microsoft.com/en-us/topic/kb5026964-users-who-log-on-using-a-local-user-account-receive-a-notice-after-april-11-2023-windows-updates-are-installed-cbaf97b4-471e-4b0c-ba61-a42238810fa0
zh:
name: 关闭”你的数据将在你所在的国家或地区之外进行处理“提示
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudExperienceHost\Intent\PersonalDataExport'
valueName: "PDEShown"
type: "REG_DWORD"
value: "1"
4 changes: 2 additions & 2 deletions tweaks/Optimize/ClearPageFileAtShutdown.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
meta:
en:
name: Clear PageFile at shutdown
name: Clear PageFile at shutdown (This may result in slower shutdowns)
zh:
name: 关机时清理 Pagefile (虚拟内存页面文件)
name: 关机时清理 Pagefile (虚拟内存页面文件) (这可能会导致关机速度变慢)
tweaks:
registry:
- key: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management'
Expand Down
12 changes: 12 additions & 0 deletions tweaks/Shell/Taskbar/Align_Win11/Center.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
meta:
en:
name: Taskbar alignment is centred (Win11)
zh:
name: 任务栏对齐方式为居中 (Win11)
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'
valueName: "TaskbarAl"
type: "REG_DWORD"
value: "1"
12 changes: 12 additions & 0 deletions tweaks/Shell/Taskbar/Align_Win11/Left.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
meta:
en:
name: Taskbar alignment is left-aligned (Win11)
zh:
name: 任务栏对齐方式为左对齐 (Win11)
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'
valueName: "TaskbarAl"
type: "REG_DWORD"
value: "0"
12 changes: 12 additions & 0 deletions tweaks/Shell/Taskbar/Searchbox_Win11/Bar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
meta:
en:
name: Set the search in the taskbar as a search box (Win11)
zh:
name: 将任务栏中的搜索设置为搜索框 (Win11)
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search'
valueName: "SearchboxTaskbarMode"
type: "REG_DWORD"
value: "2"
12 changes: 12 additions & 0 deletions tweaks/Shell/Taskbar/Searchbox_Win11/Hide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
meta:
en:
name: Hide the search box in the taskbar (Win11)
zh:
name: 隐藏任务栏中的搜索栏 (Win11)
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search'
valueName: "SearchboxTaskbarMode"
type: "REG_DWORD"
value: "0"
12 changes: 12 additions & 0 deletions tweaks/Shell/Taskbar/Searchbox_Win11/IconAndLable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
meta:
en:
name: Set the search bar in the taskbar to search icons and tabs (Win11)
zh:
name: 将任务栏中的搜索栏设置为搜索图标和标签 (Win11)
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search'
valueName: "SearchboxTaskbarMode"
type: "REG_DWORD"
value: "3"
12 changes: 12 additions & 0 deletions tweaks/Shell/Taskbar/Searchbox_Win11/IconOnly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
meta:
en:
name: Set the taskbar search box to icon only (Win11)
zh:
name: 将任务栏中的搜索栏设置为仅图标 (Win11)
applyDefaultUser: true
tweaks:
registry:
- key: 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search'
valueName: "SearchboxTaskbarMode"
type: "REG_DWORD"
value: "1"
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.2.1"
"version": "0.2.2"
}

1 comment on commit 35b3663

@vercel
Copy link

@vercel vercel bot commented on 35b3663 May 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tis-docs – ./

tis-docs-git-main-whatk.vercel.app
tis-docs-whatk.vercel.app
tis.whatk.me
tis-nu.vercel.app

Please sign in to comment.