From a82ebced6ad7ab973fbf63ea6c5e7cbdb9ba546e Mon Sep 17 00:00:00 2001 From: Roland Thomas Date: Sat, 24 Feb 2024 11:12:25 -0500 Subject: [PATCH] Update dhk with exit hotkey --- .config/qtile/dhk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/qtile/dhk b/.config/qtile/dhk index dc6a094..0872d46 100755 --- a/.config/qtile/dhk +++ b/.config/qtile/dhk @@ -152,6 +152,9 @@ class TabbedWindow(QMainWindow): self.toggle_key = QShortcut(QKeySequence("Alt+n"), self) self.toggle_key.activated.connect(self.toggle_tabs) + self.exit_key = QShortcut(QKeySequence("Alt+w"), self) + self.exit_key.activated.connect(sys.exit) + def toggle_tabs(self): current_index = self.tab_widget.currentIndex() num_tabs = self.tab_widget.count()