press control-q to close the app on Linux

This commit is contained in:
Adam Velebil 2023-05-26 08:30:21 +02:00
parent 9ad4beddce
commit 688409d2be
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -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,
),