Set icons to a bearable size

This commit is contained in:
Manuel Thalmann 2023-07-17 16:02:33 +02:00
parent ea9efa72ef
commit 58622be1b1
2 changed files with 15 additions and 0 deletions

View 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);

View file

@ -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;