feat: Ctrl+Shift+Q ile tum pencereleri kapat
Some checks failed
Build Windows / build-windows (push) Has been cancelled
Some checks failed
Build Windows / build-windows (push) Has been cancelled
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'dart:io';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:window_manager/window_manager.dart';
|
||||
@@ -49,6 +50,14 @@ class AppShortcuts extends StatelessWidget {
|
||||
): () {
|
||||
windowManager.close();
|
||||
},
|
||||
// Tüm imajviewer pencerelerini kapat
|
||||
const SingleActivator(
|
||||
LogicalKeyboardKey.keyQ,
|
||||
control: true,
|
||||
shift: true,
|
||||
): () {
|
||||
Process.run('pkill', ['imajviewer']);
|
||||
},
|
||||
},
|
||||
child: child,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user