2020-04-08 15:19:00 +08:00
|
|
|
|
// 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; }
|
|
|
|
|
|
2020-06-05 01:21:16 +08:00
|
|
|
|
public bool ignore_hotkeys_in_fullscreen { get; set; }
|
|
|
|
|
|
2020-04-08 15:19:00 +08:00
|
|
|
|
public PowerLauncherProperties()
|
|
|
|
|
{
|
2020-04-11 06:22:07 +08:00
|
|
|
|
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";
|
2020-06-05 01:21:16 +08:00
|
|
|
|
ignore_hotkeys_in_fullscreen = false;
|
2020-04-08 15:19:00 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|