diff --git a/config/applications.json b/config/applications.json index 7092acfa..736d0c47 100644 --- a/config/applications.json +++ b/config/applications.json @@ -263,6 +263,14 @@ "link": "https://github.com/Hibbiki/chromium-win64", "winget": "Hibbiki.Chromium" }, + "WPFInstallarc": { + "category": "Browsers", + "choco": "na", + "content": "Arc", + "description": "Arc is a Chromium based browser, known for it's clean and modern design.", + "link": "https://arc.net/", + "winget": "TheBrowserCompany.Arc" + }, "WPFInstallclementine": { "category": "Multimedia Tools", "choco": "clementine", @@ -398,6 +406,14 @@ "description": "Discord is a popular communication platform with voice, video, and text chat, designed for gamers but used by a wide range of communities.", "link": "https://discord.com/", "winget": "Discord.Discord" + }, + "WPFInstallditto": { + "category": "Utilities", + "choco": "ditto", + "content": "Ditto", + "description": "Ditto is an extension to the standard windows clipboard.", + "link": "https://ditto-cp.sourceforge.io/", + "winget": "Ditto.Ditto" }, "WPFInstalldockerdesktop": { "category": "Development", @@ -569,11 +585,19 @@ }, "WPFInstallfileconverter": { "category": "Utilities", - "choco": "files", + "choco": "file-converter", "content": "File-Converter", "description": "File Converter is a very simple tool which allows you to convert and compress one or several file(s) using the context menu in windows explorer.", "link": "https://file-converter.io/", "winget": "AdrienAllard.FileConverter" + }, + "WPFInstallfiles": { + "category": "Utilities", + "choco": "files", + "content": "Files", + "description": "Alternative file explorer.", + "link": "https://github.com/files-community/Files", + "winget": "na" }, "WPFInstallfirealpaca": { "category": "Multimedia Tools", @@ -1846,6 +1870,14 @@ "description": "Rust is a programming language designed for safety and performance, particularly focused on systems programming.", "link": "https://www.rust-lang.org/", "winget": "Rustlang.Rust.MSVC" + }, + "WPFInstallsagethumbs": { + "category": "Utilies", + "choco": "sagethumbs", + "content": "SageThumbs", + "description": "Provides support for thumbnails in Explorer with more formats.", + "link": "https://sagethumbs.en.lo4d.com/windows", + "winget": "CherubicSoftware.SageThumbs" }, "WPFInstallsamsungmagician": { "category": "Utilities", @@ -1966,6 +1998,14 @@ "description": "A tool application that lets you understand how folders and files are structured on your disks", "link": "http://www.uderzo.it/main_products/space_sniffer/", "winget": "UderzoSoftware.SpaceSniffer" + }, + "WPFInstallspotube": { + "category": "Multimedia Tools", + "choco": "spotube", + "content": "Spotube", + "description": "Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile! ", + "link": "https://github.com/KRTirtho/spotube", + "winget": "KRTirtho.Spotube" }, "WPFInstallstarship": { "category": "Development", @@ -2623,6 +2663,14 @@ "link": "https://docs.conda.io/projects/miniconda", "winget": "Anaconda.Miniconda3" }, + "WPFInstallpixi": { + "category": "Development", + "choco": "pixi", + "content": "Pixi", + "description": "Pixi is a fast software package manager built on top of the existing conda ecosystem. Spins up development environments quickly on Windows, macOS and Linux. Pixi supports Python, R, C/C++, Rust, Ruby, and many other languages.", + "link": "https://pixi.sh", + "winget": "prefix-dev.pixi" + }, "WPFInstalltemurin": { "category": "Development", "choco": "temurin", @@ -2742,5 +2790,13 @@ "description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry", "link": "https://github.com/7gxycn08/ForceAutoHDR", "winget": "ForceAutoHDR.7gxycn08" + }, + "WPFInstallnditools": { + "category": "Multimedia Tools", + "choco": "na", + "content": "NDI Tools", + "description":"NDI, or Network Device Interface, is a video connectivity standard that enables multimedia systems to identify and communicate with one another over IP and to encode, transmit, and receive high-quality, low latency, frame-accurate video and audio, and exchange metadata in real-time.", + "link": "https://ndi.video/", + "winget": "NDI.NDITools" } } diff --git a/config/themes.json b/config/themes.json index fb23ca95..f61c09ef 100644 --- a/config/themes.json +++ b/config/themes.json @@ -23,6 +23,7 @@ "ButtonBackgroundMouseoverColor": "#C2C2C2", "ButtonBackgroundSelectedColor": "#F0F0F0", "ButtonForegroundColor": "#000000", + "ToggleButtonOnColor": "#2e77ff", "ButtonBorderThickness": "1", "ButtonMargin": "1", "ButtonCornerRadius": "2", @@ -53,6 +54,7 @@ "ButtonBackgroundMouseoverColor": "#A55A64", "ButtonBackgroundSelectedColor": "#FF5733", "ButtonForegroundColor": "#9CCC65", + "ToggleButtonOnColor": "#2e77ff", "ButtonBorderThickness": "1", "ButtonMargin": "1", "ButtonCornerRadius": "2", @@ -83,6 +85,7 @@ "ButtonBackgroundMouseoverColor": "#FF5733", "ButtonBackgroundSelectedColor": "#FF5733", "ButtonForegroundColor": "#9CCC65", + "ToggleButtonOnColor": "#2e77ff", "ButtonBorderThickness": "1", "ButtonMargin": "1", "ButtonCornerRadius": "2", diff --git a/config/tweaks.json b/config/tweaks.json index 8829b8a3..775f0f1b 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -58,6 +58,53 @@ "powercfg.exe /hibernate on" ] }, + "WPFToggleTweaksLaptopHybernation": { + "Content": "Set Hibernation as default (good for laptops)", + "Description": "Most modern laptops have connected stadby enabled which drains the battery, this sets hibernation as default which will not drain the battery. See issue https://github.com/ChrisTitusTech/winutil/issues/1399", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a014_", + "registry": [ + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0", + "OriginalValue": "1", + "Name": "Attributes", + "Value": "2", + "Type": "DWord" + }, + { + "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\abfc2519-3608-4c2a-94ea-171b0ed546ab\\94ac6d29-73ce-41a6-809f-6363ba21b47e", + "OriginalValue": "0", + "Name": "Attributes ", + "Value": "2", + "Type": "DWord" + } + ], + "InvokeScript": [ + " + Write-Host \"Turn on Hibernation\" + Start-Process -FilePath powercfg -ArgumentList \"/hibernate on\" -NoNewWindow -Wait + + # Set hibernation as the default action + Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-ac 60\" -NoNewWindow -Wait + Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-dc 60\" -NoNewWindow -Wait + Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-ac 10\" -NoNewWindow -Wait + Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-dc 1\" -NoNewWindow -Wait + " + ], + "UndoScript": [ + " + Write-Host \"Turn off Hibernation\" + Start-Process -FilePath powercfg -ArgumentList \"/hibernate off\" -NoNewWindow -Wait + + # Set standby to detault values + Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-ac 15\" -NoNewWindow -Wait + Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-dc 15\" -NoNewWindow -Wait + Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-ac 15\" -NoNewWindow -Wait + Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-dc 15\" -NoNewWindow -Wait + " + ] + }, "WPFTweaksHome": { "Content": "Disable Homegroup", "Description": "Disables HomeGroup - HomeGroup is a password-protected home networking service that lets you share your stuff with other PCs that are currently running and connected to your network.", @@ -2253,6 +2300,19 @@ " ] }, + "WPFTweaksPowershell7": { + "Content": "Replace Default Powershell 5 to Powershell 7", + "Description": "This will edit the config file of the Windows Terminal Replacing the Powershell 5 to Powershell 7 and install Powershell 7 if necessary", + "category": "Essential Tweaks", + "panel": "1", + "Order": "a009_", + "InvokeScript": [ + "Invoke-WPFTweakPS7 -action \"PS7\"" + ], + "UndoScript": [ + "Invoke-WPFTweakPS7 -action \"PS5\"" + ] + }, "WPFTweaksOO": { "Content": "Run OO Shutup", "Description": "Runs OO Shutup and applies the recommended Tweaks. https://www.oo-software.com/en/shutup10", @@ -2303,21 +2363,45 @@ ] }, "WPFTweaksRemoveCopilot": { - "Content": "Disables Microsoft Copilot", + "Content": "Disable Microsoft Copilot", "Description": "Disables MS Copilot AI built into Windows since 23H2.", "category": "z__Advanced Tweaks - CAUTION", "panel": "1", "Order": "a025_", + "registry": [ + { + + "Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot", + "Name": "TurnOffWindowsCopilot", + "Type": "DWord", + "Value": "1", + "OriginalValue": "0" + }, + { + "Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot", + "Name": "TurnOffWindowsCopilot", + "Type": "DWord", + "Value": "1", + "OriginalValue": "0" + }, + { + "Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", + "Name": "ShowCopilotButton", + "Type": "DWord", + "Value": "0", + "OriginalValue": "1" + } + ], "InvokeScript": [ - " - Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"0\" - New-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force | New-ItemProperty -Name \"TurnOffWindowsCopilot\" -Value \"1\" -Force -Type \"DWord\" - " + " + Write-Host \"Remove Popilot\" + dism /online /remove-package /package-name:Microsoft.Windows.Copilot + " ], "UndoScript": [ " - Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\" -Name \"ShowCopilotButton\" -Type \"DWord\" -Value \"1\" - Remove-Item \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsCopilot\" -Force + Write-Host \"Install Copilot\" + dism /online /add-package /package-name:Microsoft.Windows.Copilot " ] }, @@ -2730,7 +2814,7 @@ "Description": "Erases TEMP Folders", "category": "Essential Tweaks", "panel": "1", - "Order": "a009_", + "Order": "a002_", "InvokeScript": [ "Get-ChildItem -Path \"C:\\Windows\\Temp\" *.* -Recurse | Remove-Item -Force -Recurse Get-ChildItem -Path $env:TEMP *.* -Recurse | Remove-Item -Force -Recurse" @@ -3000,4 +3084,4 @@ "Order": "a082_", "Type": "300" } -} +} \ No newline at end of file diff --git a/functions/private/Get-TabXaml.ps1 b/functions/private/Get-TabXaml.ps1 index c4bccb9e..135039e1 100644 --- a/functions/private/Get-TabXaml.ps1 +++ b/functions/private/Get-TabXaml.ps1 @@ -91,9 +91,8 @@ function Get-TabXaml { } $appInfo = $organizedData[$panel][$category][$appName] if ("Toggle" -eq $appInfo.Type) { - $blockXml += "`n" - $blockXml += "`n" - $blockXml += "`n" + $blockXml += "`n`n" } elseif ("Combobox" -eq $appInfo.Type) { $blockXml += "`n + + + @@ -13399,11 +13642,6 @@ $inputXML = ' - - - - - @@ -13637,6 +13875,7 @@ $inputXML = ' + + + @@ -853,11 +877,6 @@ - - - - - diff --git a/xaml/inputTweaks.xaml b/xaml/inputTweaks.xaml index 3c4ef769..df989e3b 100644 --- a/xaml/inputTweaks.xaml +++ b/xaml/inputTweaks.xaml @@ -6,6 +6,7 @@