Set icons to a bearable size
This commit is contained in:
parent
ea9efa72ef
commit
58622be1b1
2 changed files with 15 additions and 0 deletions
14
scripts/Windows/Config/Windows/Install.ps1
Normal file
14
scripts/Windows/Config/Windows/Install.ps1
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/pwsh
|
||||
param($context)
|
||||
Write-Host "Configuring Windows";
|
||||
|
||||
$action = {
|
||||
param([Microsoft.Win32.RegistryKey] $userKey)
|
||||
|
||||
$spacingProperty = "IconSpacing";
|
||||
$keyPath = "$($userKey.PSPath)\Control Panel\Desktop\WindowMetrics";
|
||||
Rename-ItemProperty $keyPath $spacingProperty "_$spacingProperty";
|
||||
Set-ItemProperty $keyPath -Name $spacingProperty -Value "-1710" -Type "String";
|
||||
}
|
||||
|
||||
$context.ProcessDefaultUserKey($action);
|
|
@ -14,6 +14,7 @@ function Invoke-WindowsInstallation([Context] $context)
|
|||
if (-not $context.Get("InitialConfiguration")) {
|
||||
$configPath = "$PSScriptRoot/../Config";
|
||||
|
||||
. "$configPath/Windows/Install.ps1" $context;
|
||||
. "$configPath/Explorer/Install.ps1" $context;
|
||||
. "$configPath/OpenSSH/Install.ps1" $context;
|
||||
|
||||
|
|
Loading…
Reference in a new issue