diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs index 1c7485a9c..a442eae64 100644 --- a/Flow.Launcher.Core/Resource/Theme.cs +++ b/Flow.Launcher.Core/Resource/Theme.cs @@ -262,12 +262,12 @@ namespace Flow.Launcher.Core.Resource ) }; } - else if (line.StartsWith("BlurAmount:", StringComparison.OrdinalIgnoreCase)) + else if (line.StartsWith("IsBlur:", StringComparison.OrdinalIgnoreCase)) { themeData = themeData with { - BlurAmount = int.Parse( - line.Remove(0, "BlurAmount:".Length).Trim() + IsBlur = bool.Parse( + line.Remove(0, "IsBlur:".Length).Trim() ) }; } @@ -452,6 +452,6 @@ namespace Flow.Launcher.Core.Resource } #endregion - public record ThemeData(string FileNameWithoutExtension, string Name, bool? IsDark = null, int? BlurAmount = null); + public record ThemeData(string FileNameWithoutExtension, string Name, bool? IsDark = null, bool? IsBlur = null); } } diff --git a/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml b/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml index 0c89ea195..99916491a 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml +++ b/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml @@ -467,16 +467,29 @@ Width="Auto" Height="34" Margin="0"> - + + + + + +