27
27
# . "${PSScriptRoot}\_funcs.ps1"
28
28
29
29
Show-Section - Section " Icons" - Desc " Copying Icon Theme"
30
- New-Item - Type Directory - Path " ${ Env: ProgramData} \Windows Icons\Start " | Out-Null
30
+ <#
31
31
New-Item -Type Directory -Path "${Env:ProgramData}\Windows Icons\Apps" | Out-Null
32
- Copy-Item ${PSScriptRoot} \..\Resources\Icons\* .ico - Destination " ${Env: ProgramData} \Windows Icons\" - Force | Out-Null
33
- Copy-Item ${PSScriptRoot} \..\Resources\Icons\start\* .ico - Destination " ${Env: ProgramData} \Windows Icons\Start\" - Force | Out-Null
34
- Copy-Item ${PSScriptRoot} \..\Resources\Icons\apps\* .ico - Destination " ${Env: ProgramData} \Windows Icons\Apps\" - Force | Out-Null
32
+ New-Item -Type Directory -Path "${Env:ProgramData}\Windows Icons\Emblems" | Out-Null
33
+ New-Item -Type Directory -Path "${Env:ProgramData}\Windows Icons\Hardware" | Out-Null
34
+ New-Item -Type Directory -Path "${Env:ProgramData}\Windows Icons\Mimetypes" | Out-Null
35
+ New-Item -Type Directory -Path "${Env:ProgramData}\Windows Icons\Places" | Out-Null
36
+ New-Item -Type Directory -Path "${Env:ProgramData}\Windows Icons\Start" | Out-Null
37
+ Copy-Item ${PSScriptRoot}\..\Resources\Icons\Apps\*.ico -Destination "${Env:ProgramData}\Windows Icons\Apps\" -Force | Out-Null
38
+ Copy-Item ${PSScriptRoot}\..\Resources\Icons\Emblems\*.ico -Destination "${Env:ProgramData}\Windows Icons\Emblems\" -Force | Out-Null
39
+ Copy-Item ${PSScriptRoot}\..\Resources\Icons\Hardware\*.ico -Destination "${Env:ProgramData}\Windows Icons\Hardware\" -Force | Out-Null
40
+ Copy-Item ${PSScriptRoot}\..\Resources\Icons\Mimetypes\*.ico -Destination "${Env:ProgramData}\Windows Icons\Mimetypes\" -Force | Out-Null
41
+ Copy-Item ${PSScriptRoot}\..\Resources\Icons\Places\*.ico -Destination "${Env:ProgramData}\Windows Icons\Places\" -Force | Out-Null
42
+ Copy-Item ${PSScriptRoot}\..\Resources\Icons\Start\*.ico -Destination "${Env:ProgramData}\Windows Icons\Start\" -Force | Out-Null
43
+ #>
44
+ Copy-Item ${PSScriptRoot} \..\Resources\Icons\* .dll - Destination " ${Env: ProgramData} " - Force | Out-Null
45
+ Copy-Item ${PSScriptRoot} \..\Resources\Icons\* .ico - Destination " ${Env: ProgramData} " - Force | Out-Null
35
46
36
47
Show-Section - Section " Icons" - Desc " System Icons"
37
48
# youtube-dl
38
49
New-Item - ItemType SymbolicLink - Path " ${Env: ProgramData} \chocolatey\lib\mpv.install\tools\yt-dlp.exe" - Target " ${Env: ProgramData} \chocolatey\lib\yt-dlp\tools\x64\yt-dlp.exe" | Out-Null
39
50
40
51
# User Folders
41
- Set-UserFolderIcon - Name " Contacts" - ImageRes 181 - Icon " folder-contacts "
42
- Set-UserFolderIcon - Name " Desktop" - ImageRes 183 - Icon " desktop"
43
- Set-UserFolderIcon - Name " Documents" - ImageRes 112 - Icon " folder-documents"
44
- Set-UserFolderIcon - Name " Downloads" - ImageRes 184 - Icon " folder-downloads "
45
- Set-UserFolderIcon - Name " Favorites" - ImageRes 115 - Icon " folder-favorites"
46
- Set-UserFolderIcon - Name " Links" - ImageRes 185 - Icon " folder-links "
47
- Set-UserFolderIcon - Name " Music" - ImageRes 108 - Icon " folder-music"
48
- Set-UserFolderIcon - Name " Pictures" - ImageRes 113 - Icon " folder-pictures "
49
- Set-UserFolderIcon - Name " Saved Games" - ImageRes 186 - Icon " folder-games"
50
- Set-UserFolderIcon - Name " Searches" - ImageRes 18 - Icon " folder-searches "
51
- Set-UserFolderIcon - Name " Videos" - ImageRes 189 - Icon " folder-videos "
52
+ Set-UserFolderIcon - Name " Contacts" - ImageRes 181 - Icon 73 # "folder-blue-public "
53
+ Set-UserFolderIcon - Name " Desktop" - ImageRes 183 - Icon 52 # "folder-blue- desktop"
54
+ Set-UserFolderIcon - Name " Documents" - ImageRes 112 - Icon 54 # "folder-blue -documents"
55
+ Set-UserFolderIcon - Name " Downloads" - ImageRes 184 - Icon 55 # "folder-blue-download "
56
+ Set-UserFolderIcon - Name " Favorites" - ImageRes 115 - Icon 56 # "folder-blue -favorites"
57
+ Set-UserFolderIcon - Name " Links" - ImageRes 185 - Icon 86 # "folder-blue-web "
58
+ Set-UserFolderIcon - Name " Music" - ImageRes 108 - Icon 66 # "folder-blue -music"
59
+ Set-UserFolderIcon - Name " Pictures" - ImageRes 113 - Icon 63 # "folder-blue-images "
60
+ Set-UserFolderIcon - Name " Saved Games" - ImageRes 186 - Icon 57 # "folder-blue -games"
61
+ Set-UserFolderIcon - Name " Searches" - ImageRes 18 - Icon 75 # "folder-blue-saved-search "
62
+ Set-UserFolderIcon - Name " Videos" - ImageRes 189 - Icon 83 # "folder-blue-video "
52
63
New-Item - ItemType SymbolicLink - Path ($Env: UserProfile + " \Documents\My Games" ) - Target ($Env: UserProfile + " \Saved Games" ) | Out-Null
53
64
# Desktop
54
65
Add-Reg - Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons"
55
66
Add-Reg - Path " HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons"
56
- Add-Reg - Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" - Name " 34" - Type String " %ProgramData%\Windows Icons\desktop.ico "
57
- Add-Reg - Path " HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" - Name " 34" - Type String " %ProgramData%\Windows Icons\desktop.ico "
67
+ Add-Reg - Path " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" - Name " 34" - Type String " %ProgramData%\win11tweak-places.dll,52 "
68
+ Add-Reg - Path " HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" - Name " 34" - Type String " %ProgramData%\win11tweak-places.dll,52 "
58
69
# This PC
59
- Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\Windows Icons\computer.ico "
70
+ Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\win11tweak-hardware.dll,45 "
60
71
# Recycle Bin
61
- Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon" - Name " empty" - Type ExpandString - Value " %ProgramData%\Windows Icons\recycle.ico "
62
- Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon" - Name " full" - Type ExpandString - Value " %ProgramData%\Windows Icons\recycle-full.ico "
72
+ Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon" - Name " empty" - Type ExpandString - Value " %ProgramData%\win11tweak-places.dll,87 "
73
+ Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon" - Name " full" - Type ExpandString - Value " %ProgramData%\win11tweak-places.dll,88 "
63
74
# Network
64
- Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\Windows Icons\network.ico "
75
+ Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\win11tweak-apps.dll,835 "
65
76
# Navigation Pane - Show All folders
66
77
Add-Reg - Path " HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" - Name " NavPaneShowAllFolders" - Type Dword - Value " 1"
67
78
# Navigation Pane - Remove Quick Access
@@ -71,16 +82,16 @@ Remove-Reg -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Deskt
71
82
# Control Panel
72
83
Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}"
73
84
Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon"
74
- Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\Windows Icons\settings.ico "
85
+ Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{26EE0668-A00A-44D7-9371-BEB064C98683}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\win11tweak-apps.dll,155 "
75
86
# User Files
76
87
Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}"
77
88
Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon"
78
- Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\Windows Icons\folder-home.ico "
89
+ Add-Reg - Path " HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\win11tweak-places.dll,62 "
79
90
# System Drive
80
91
$SysDrive = " ${Env: SystemDrive} " .Substring(0 , 1 )
81
92
Add-Reg - Path " HKCU:\Software\Classes\Applications"
82
93
Add-Reg - Path " HKCU:\Software\Classes\Applications\Explorer.exe"
83
94
Add-Reg - Path " HKCU:\Software\Classes\Applications\Explorer.exe\Drives"
84
95
Add-Reg - Path " HKCU:\Software\Classes\Applications\Explorer.exe\Drives\${SysDrive} "
85
96
Add-Reg - Path " HKCU:\Software\Classes\Applications\Explorer.exe\Drives\${SysDrive} \DefaultIcon"
86
- Add-Reg - Path " HKCU:\Software\Classes\Applications\Explorer.exe\Drives\${SysDrive} \DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\Windows Icons\drive-win11.ico "
97
+ Add-Reg - Path " HKCU:\Software\Classes\Applications\Explorer.exe\Drives\${SysDrive} \DefaultIcon" - Name " (Default)" - Type String - Value " %ProgramData%\win11tweak-hardware.dll,73 "
0 commit comments