From 688409d2bea0dfa086fe22cba0e647ed2812986e Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Fri, 26 May 2023 08:30:21 +0200 Subject: [PATCH] press control-q to close the app on Linux --- lib/app/shortcuts.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/app/shortcuts.dart b/lib/app/shortcuts.dart index c8cfb31c..5c180ff7 100755 --- a/lib/app/shortcuts.dart +++ b/lib/app/shortcuts.dart @@ -157,6 +157,10 @@ Widget registerGlobalShortcuts( const SingleActivator(LogicalKeyboardKey.comma, meta: true): const SettingsIntent(), }, + if (Platform.isLinux) ...{ + const SingleActivator(LogicalKeyboardKey.keyQ, control: true): + const CloseIntent(), + }, }, child: child, ),