-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigs_install.ps1
More file actions
36 lines (28 loc) · 1.54 KB
/
configs_install.ps1
File metadata and controls
36 lines (28 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# TODO:
# RUN AS ADMINISTRATOR https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771525(v=ws.10)?redirectedfrom=MSDN
# scaling on 4k monitor - try avoiding the fractional scaling as it causes blur sometimes
# TODO windows registry stuff
# TODO nvim config stuff
# TODO create PS and cmd aliases in WIN https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_aliases?view=powershell-7.3
Set-PSDebug -Trace 1
$ErrorActionPreference = "Stop"
. ./git_config.ps1
. ./mkdirs.ps1
# Todo consider adding this only for current user so that I don't need sudo.
# Maybe that would also be safer.
# TODO update the profile to be up to date with Bash aliases
# TODO pwsh does not use this profile for som reason -> also set it for pwsh
Copy-Item -Force $PSScriptRoot/win_dotfiles/Profile.ps1 $PSHOME/Profile.ps1
powercfg.exe /hibernate off
# see: https://wiki.archlinux.org/title/System_time
# TODO - read the article above
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
# TODO - also change pagefile size
# Manually changed settings
# Todo try to automatically set these windows settings in future
# Settings -> multitasking -> on the taskbar, show the windows that are open on all desktops
# TODO - debloat Windows
# TODO optimize Windows startup times & BG processes
# TODO try running PowerShell and pwsh with the new profile here or in
# the CI tests. (to verify that the new profile is OK)
Set-PSDebug -Trace 0