diff --git a/src/modules/launcher/Wox.Infrastructure/UserSettings/CustomPluginHotkey.cs b/src/modules/launcher/Wox.Infrastructure/UserSettings/CustomPluginHotkey.cs
deleted file mode 100644
index f02353beb85..00000000000
--- a/src/modules/launcher/Wox.Infrastructure/UserSettings/CustomPluginHotkey.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) Microsoft Corporation
-// The Microsoft Corporation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using Wox.Plugin;
-
-namespace Wox.Infrastructure.UserSettings
-{
- public class CustomPluginHotkey : BaseModel
- {
- public string Hotkey { get; set; }
-
- public string ActionKeyword { get; set; }
- }
-}
diff --git a/src/modules/launcher/Wox.Infrastructure/UserSettings/HttpProxy.cs b/src/modules/launcher/Wox.Infrastructure/UserSettings/HttpProxy.cs
deleted file mode 100644
index 3e2071ca341..00000000000
--- a/src/modules/launcher/Wox.Infrastructure/UserSettings/HttpProxy.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) Microsoft Corporation
-// The Microsoft Corporation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace Wox.Infrastructure.UserSettings
-{
- public class HttpProxy
- {
- public bool Enabled { get; set; }
-
- public string Server { get; set; }
-
- public int Port { get; set; }
-
- public string UserName { get; set; }
-
- public string Password { get; set; }
- }
-}
diff --git a/src/modules/launcher/Wox.Infrastructure/UserSettings/PowerToysRunSettings.cs b/src/modules/launcher/Wox.Infrastructure/UserSettings/PowerToysRunSettings.cs
index cb993dc4fe2..0478e63f091 100644
--- a/src/modules/launcher/Wox.Infrastructure/UserSettings/PowerToysRunSettings.cs
+++ b/src/modules/launcher/Wox.Infrastructure/UserSettings/PowerToysRunSettings.cs
@@ -2,9 +2,6 @@
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using System;
-using System.Collections.ObjectModel;
-using System.Drawing;
using System.Text.Json.Serialization;
using ManagedCommon;
@@ -177,35 +174,16 @@ public int SearchClickedItemWeight
}
}
- public string Language { get; set; } = "en";
-
public Theme Theme { get; set; } = Theme.System;
public StartupPosition StartupPosition { get; set; } = StartupPosition.Cursor;
- public string QueryBoxFont { get; set; } = FontFamily.GenericSansSerif.Name;
-
- public string QueryBoxFontStyle { get; set; }
-
- public string QueryBoxFontWeight { get; set; }
-
public bool PTRunNonDelayedSearchInParallel { get; set; } = true;
public string PTRunStartNewSearchAction { get; set; }
public bool PTRSearchQueryFastResultsWithDelay { get; set; }
- // public bool PTRSearchQueryFastResultsWithPartialDelay { get; set; }
- public string QueryBoxFontStretch { get; set; }
-
- public string ResultFont { get; set; } = FontFamily.GenericSansSerif.Name;
-
- public string ResultFontStyle { get; set; }
-
- public string ResultFontWeight { get; set; }
-
- public string ResultFontStretch { get; set; }
-
///
/// Gets or sets a value indicating whether when false Alphabet static service will always return empty results
///
@@ -213,38 +191,6 @@ public int SearchClickedItemWeight
internal StringMatcher.SearchPrecisionScore QuerySearchPrecision { get; private set; } = StringMatcher.SearchPrecisionScore.Regular;
- [JsonIgnore]
- public string QuerySearchPrecisionString
- {
- get
- {
- return QuerySearchPrecision.ToString();
- }
-
- set
- {
- try
- {
- var precisionScore = (StringMatcher.SearchPrecisionScore)Enum
- .Parse(typeof(StringMatcher.SearchPrecisionScore), value);
-
- QuerySearchPrecision = precisionScore;
- StringMatcher.Instance.UserSettingSearchPrecision = precisionScore;
- }
- catch (ArgumentException e)
- {
- Wox.Plugin.Logger.Log.Exception("Failed to load QuerySearchPrecisionString value from Settings file", e, GetType());
-
- QuerySearchPrecision = StringMatcher.SearchPrecisionScore.Regular;
- StringMatcher.Instance.UserSettingSearchPrecision = StringMatcher.SearchPrecisionScore.Regular;
-
- throw;
- }
- }
- }
-
- public bool AutoUpdates { get; set; }
-
public double WindowLeft { get; set; }
public double WindowTop { get; set; }
@@ -283,34 +229,6 @@ public int ActivateTimes
}
}
- public ObservableCollection CustomPluginHotkeys { get; } = new ObservableCollection();
-
- public bool DontPromptUpdateMsg { get; set; }
-
- public bool EnableUpdateLog { get; set; }
-
- public bool StartWoxOnSystemStartup { get; set; } = true;
-
- public bool HideOnStartup { get; set; }
-
- private bool _hideNotifyIcon;
-
- public bool HideNotifyIcon
- {
- get
- {
- return _hideNotifyIcon;
- }
-
- set
- {
- _hideNotifyIcon = value;
- OnPropertyChanged();
- }
- }
-
- public bool LeaveCmdOpen { get; set; }
-
public bool HideWhenDeactivated { get; set; } = true;
public bool ClearInputOnLaunch { get; set; }
@@ -349,8 +267,6 @@ public ShowPluginsOverviewMode ShowPluginsOverview
public bool GenerateThumbnailsFromFiles { get; set; } = true;
- public HttpProxy Proxy { get; set; } = new HttpProxy();
-
[JsonConverter(typeof(JsonStringEnumConverter))]
public LastQueryMode LastQueryMode { get; set; } = LastQueryMode.Selected;
}