Skip to content

Commit

Permalink
Add my config file, update 712057 and add accent colour
Browse files Browse the repository at this point in the history
  • Loading branch information
Emorgan12 committed Jun 14, 2024
1 parent a25bff2 commit b2e1179
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
22 changes: 22 additions & 0 deletions configs/711245.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"Unpin-apps": true,
"Dark-mode": false,
"Remove-task-view" :true,
"File-extentions": true,
"Remove-desktop-icons": true,
"Seconds-in-clock": false,
"12-hr-clock": false,
"clipboard-history": true,
"Print-scrn-snipping-tool": true,
"Set-scroll-lines":7,
"Enable-live-caption-chrome": true,
"Default-browser-chrome": true,
"Setup-edge-redirect": true,
"Close-edge": true,
"Open-tabs": [
"https://github.com/login",
"https://office.com"
],
"Funny-joe-biden": true,
"Accent-colour": "FF AB CB 00 F7 83 B2 00 F7 52 94 00 EA 00 5E 00 AC 00 46 00 88 00 37 00 6B 00 2B 00 7A 75 74 00"
}
3 changes: 2 additions & 1 deletion configs/712057.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"https://github.com/login",
"https://office.com"
],
"Funny-joe-biden": true
"Funny-joe-biden": true,
"Accent-colour": "FD 86 5F 00 FC 75 51 00 F8 63 42 00 F7 63 0C 00 D0 41 22 00 9C 31 1A 00 79 27 14 00 00 99 BC 00"
}
4 changes: 4 additions & 0 deletions main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ if ($configFile.'Open-tabs') {
}
}

if($configFile.'Accent-colour'){
$ColorValue = $AccentColor.Split(' ') | ForEach-Object { "0x$_" }
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent" -Name "AccentPalette" -Value ([byte[]]$ColorValue)
}
if ($configFile.'Funny-joe-biden'){
# Easter egg ;)
$images = (Invoke-WebRequest "https://raw.githubusercontent.com/likes-gay/win-config/main/photos.txt").Content.Split([Environment]::NewLine)
Expand Down

0 comments on commit b2e1179

Please sign in to comment.