diff --git a/@Resources/PatchNoteVar.inc b/@Resources/PatchNoteVar.inc index 67bfecf..923ad16 100644 Binary files a/@Resources/PatchNoteVar.inc and b/@Resources/PatchNoteVar.inc differ diff --git a/@Resources/Powershell/toggleWidgetMode.ps1 b/@Resources/Powershell/toggleWidgetMode.ps1 deleted file mode 100644 index dda92ea..0000000 --- a/@Resources/Powershell/toggleWidgetMode.ps1 +++ /dev/null @@ -1,96 +0,0 @@ - -# ---------------------------------------------------------------------------- # -# Functions # -# ---------------------------------------------------------------------------- # - -function Get-IniContent ($filePath) { - $ini = [ordered]@{} - if (![System.IO.File]::Exists($filePath)) { - throw "$filePath invalid" - } - # $section = ';ItIsNotAFuckingSection;' - # $ini.Add($section, [ordered]@{}) - - foreach ($line in [System.IO.File]::ReadLines($filePath)) { - if ($line -match "^\s*\[(.+?)\]\s*$") { - $section = $matches[1] - $secDup = 1 - while ($ini.Keys -contains $section) { - $section = $section + '||ps' + $secDup - } - $ini.Add($section, [ordered]@{}) - } - elseif ($line -match "^\s*;.*$") { - $notSectionCount = 0 - while ($ini[$section].Keys -contains ';NotSection' + $notSectionCount) { - $notSectionCount++ - } - $ini[$section][';NotSection' + $notSectionCount] = $matches[1] - } - elseif ($line -match "^\s*(.+?)\s*=\s*(.+?)$") { - $key, $value = $matches[1..2] - $ini[$section][$key] = $value - } - else { - $notSectionCount = 0 - while ($ini[$section].Keys -contains ';NotSection' + $notSectionCount) { - $notSectionCount++ - } - $ini[$section][';NotSection' + $notSectionCount] = $line - } - } - - return $ini -} - -function Set-IniContent($ini, $filePath) { - $str = @() - - foreach ($section in $ini.GetEnumerator()) { - if ($section -ne ';ItIsNotAFuckingSection;') { - $str += "[" + ($section.Key -replace '\|\|ps\d+$', '') + "]" - } - foreach ($keyvaluepair in $section.Value.GetEnumerator()) { - if ($keyvaluepair.Key -match "^;NotSection\d+$") { - $str += $keyvaluepair.Value - } - else { - $str += $keyvaluepair.Key + "=" + $keyvaluepair.Value - } - } - } - - $finalStr = $str -join [System.Environment]::NewLine - - $finalStr | Out-File -filePath $filePath -Force -Encoding unicode -} - -# ---------------------------------------------------------------------------- # -# Actions # -# ---------------------------------------------------------------------------- # - - -function Toggle-MixerMode { - - $CurrentMode = $RmAPI.VariableStr('StayOnDesktop') - $SaveLocation = $RmAPI.VariableStr('Sec.SaveLocation') - - $Ini = Get-IniContent -filePath "$($RmAPI.VariableStr('SETTINGSPATH'))Rainmeter.ini" - if ($CurrentMode -eq 1) { - # ---------------------------- Set to module mode ---------------------------- # - $Ini['YourMixer\Main\Elements\ControlScreen'].SavePosition = 0 - $Ini['YourMixer\Main\Elements\ControlScreen'].AlphaValue = 1 - $Ini['YourMixer\Main\Elements\ControlScreen'].Remove('WindowX') - $Ini['YourMixer\Main\Elements\ControlScreen'].Remove('WindowY') - Set-IniContent -ini $Ini -filePath "$($RmAPI.VariableStr('SETTINGSPATH'))Rainmeter.ini" - # ------------- Standard actions ------------- # - $RmAPI.Bang('[!SetVariable StayOnDesktop 0][!WriteKeyValue Variables StayOnDesktop "0" '+$SaveLocation+'][!UpdateMeasure Auto_Refresh:M][!UpdateMeter *][!Redraw]') - } else { - # ---------------------------- Set to widget mode ---------------------------- # - $Ini['YourMixer\Main\Elements\ControlScreen'].SavePosition = 1 - $Ini['YourMixer\Main\Elements\ControlScreen'].AlphaValue = 255 - Set-IniContent -ini $Ini -filePath "$($RmAPI.VariableStr('SETTINGSPATH'))Rainmeter.ini" - # ------------- Standard actions ------------- # - $RmAPI.Bang('[!SetVariable StayOnDesktop 1][!WriteKeyValue Variables StayOnDesktop "1" '+$SaveLocation+'][!UpdateMeasure Auto_Refresh:M][!UpdateMeter *][!Redraw]') - } -} \ No newline at end of file diff --git a/@Resources/Presets/FluentColorTheme-Light.inc b/@Resources/Presets/FluentColorTheme-Light.inc index 1142434..48c8c35 100644 Binary files a/@Resources/Presets/FluentColorTheme-Light.inc and b/@Resources/Presets/FluentColorTheme-Light.inc differ diff --git a/@Resources/Vars.inc b/@Resources/Vars.inc index 3e48517..809ce9b 100644 Binary files a/@Resources/Vars.inc and b/@Resources/Vars.inc differ diff --git a/@Resources/Version.inc b/@Resources/Version.inc index 31162f4..ab2ddf3 100644 Binary files a/@Resources/Version.inc and b/@Resources/Version.inc differ diff --git a/Core/AppearanceStyles/Fluent.inc b/Core/AppearanceStyles/Fluent.inc index ed92daf..2f2c6a9 100644 Binary files a/Core/AppearanceStyles/Fluent.inc and b/Core/AppearanceStyles/Fluent.inc differ diff --git a/Core/General.inc b/Core/General.inc index 6c063bc..ab2e006 100644 Binary files a/Core/General.inc and b/Core/General.inc differ diff --git a/Core/Window/Setup/1.inc b/Core/Window/Setup/1.inc index 8162f16..ca0e3a8 100644 Binary files a/Core/Window/Setup/1.inc and b/Core/Window/Setup/1.inc differ diff --git a/Core/Window/Setup/2.inc b/Core/Window/Setup/2.inc index ae4401c..6f88db4 100644 Binary files a/Core/Window/Setup/2.inc and b/Core/Window/Setup/2.inc differ diff --git a/Main/Elements/ControlScreen/Cache/MixerContent.inc b/Main/Elements/ControlScreen/Cache/MixerContent.inc index a90863b..f53b8e8 100644 Binary files a/Main/Elements/ControlScreen/Cache/MixerContent.inc and b/Main/Elements/ControlScreen/Cache/MixerContent.inc differ diff --git a/Main/Elements/ControlScreen/Layout/Center.inc b/Main/Elements/ControlScreen/Layout/Center.inc index 0ad84fb..0b98f2e 100644 Binary files a/Main/Elements/ControlScreen/Layout/Center.inc and b/Main/Elements/ControlScreen/Layout/Center.inc differ diff --git a/Main/Elements/ControlScreen/Layout/Fluent.inc b/Main/Elements/ControlScreen/Layout/Fluent.inc index 14ccaf0..6b280dd 100644 Binary files a/Main/Elements/ControlScreen/Layout/Fluent.inc and b/Main/Elements/ControlScreen/Layout/Fluent.inc differ diff --git a/Main/Elements/ControlScreen/Vars/Fluent.inc b/Main/Elements/ControlScreen/Vars/Fluent.inc index 56ff8b2..d1c01e0 100644 Binary files a/Main/Elements/ControlScreen/Vars/Fluent.inc and b/Main/Elements/ControlScreen/Vars/Fluent.inc differ