mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-28 11:58:24 +08:00
78946c11ea
* Implemented Clear Input On Launch * Move logic to seperate command on viewmodel * Added Settings Sync Moved logic from OnDeactivated to OnActivated * Complete after testing Co-authored-by: Roy <royvou@hotmailcom>
44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
// 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 Microsoft.PowerToys.Settings.UI.Lib
|
|
{
|
|
public class PowerLauncherProperties
|
|
{
|
|
public string search_result_preference { get; set; }
|
|
|
|
public string search_type_preference { get; set; }
|
|
|
|
public int maximum_number_of_results { get; set; }
|
|
|
|
public HotkeySettings open_powerlauncher { get; set; }
|
|
|
|
public HotkeySettings open_file_location { get; set; }
|
|
|
|
public HotkeySettings copy_path_location { get; set; }
|
|
|
|
public HotkeySettings open_console { get; set; }
|
|
|
|
public bool override_win_r_key { get; set; }
|
|
|
|
public bool override_win_s_key { get; set; }
|
|
|
|
public bool ignore_hotkeys_in_fullscreen { get; set; }
|
|
|
|
public bool clear_input_on_launch { get; set; }
|
|
|
|
public PowerLauncherProperties()
|
|
{
|
|
open_powerlauncher = new HotkeySettings();
|
|
open_file_location = new HotkeySettings();
|
|
copy_path_location = new HotkeySettings();
|
|
open_console = new HotkeySettings();
|
|
search_result_preference = "most_recently_used";
|
|
search_type_preference = "application_name";
|
|
ignore_hotkeys_in_fullscreen = false;
|
|
clear_input_on_launch = false;
|
|
}
|
|
}
|
|
}
|