[FindMyMouse] Add setting for excluded apps (#16308)

* refactor find_app_name_in_path

* Add a setting for excluded apps

* Restore game_mode.h
This commit is contained in:
Jaime Bernardo
2022-02-14 18:22:05 +00:00
committed by GitHub
parent 10a5629fe8
commit 05728a6dc2
11 changed files with 131 additions and 31 deletions

View File

@@ -32,6 +32,9 @@ namespace Microsoft.PowerToys.Settings.UI.Library
[JsonPropertyName("spotlight_initial_zoom")]
public IntProperty SpotlightInitialZoom { get; set; }
[JsonPropertyName("excluded_apps")]
public StringProperty ExcludedApps { get; set; }
public FindMyMouseProperties()
{
ActivationMethod = new IntProperty(0);
@@ -42,6 +45,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
SpotlightRadius = new IntProperty(100);
AnimationDurationMs = new IntProperty(500);
SpotlightInitialZoom = new IntProperty(9);
ExcludedApps = new StringProperty();
}
}
}