mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
commit
18d6f67d28
2 changed files with 15 additions and 0 deletions
|
|
@ -186,6 +186,10 @@
|
|||
Key="F12"
|
||||
Command="{Binding ToggleGameModeCommand}"
|
||||
Modifiers="Ctrl" />
|
||||
<KeyBinding
|
||||
Key="C"
|
||||
Modifiers="Ctrl+Shift"
|
||||
Command="{Binding CopyAlternativeCommand}" />
|
||||
<KeyBinding
|
||||
Key="{Binding PreviewHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}"
|
||||
Command="{Binding TogglePreviewCommand}"
|
||||
|
|
|
|||
|
|
@ -371,6 +371,17 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
GameModeStatus = !GameModeStatus;
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
public void CopyAlternative()
|
||||
{
|
||||
var result = Results.SelectedItem?.Result?.CopyText;
|
||||
|
||||
if (result != null)
|
||||
{
|
||||
App.API.CopyToClipboard(result, directCopy: false);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue