From 1b6129ab5dc78cc4f15789dfdcb2f3f594d400c4 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 10 Dec 2023 12:24:28 +0200 Subject: qtile:(keys) Add shutdown keybinding --- .config/qtile/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index a73c0c8..9214be7 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -234,7 +234,8 @@ keys = [ # Thinkpad Key([],"F1", lazy.spawn("doas brightnessctl --device='intel_backlight' set 5%-")), Key([],"F2", lazy.spawn("doas brightnessctl --device='intel_backlight' set +5%")), - Key([],"F4", (lazy.spawn("doas /home/thanos/.scripts/keyboard-light-x220.sh"))) + Key([],"F4", (lazy.spawn("doas /home/thanos/.scripts/keyboard-light-x220.sh"))), + Key([mod, "control"], "q", lazy.shutdown()), ] mouse = [ -- cgit v1.2.3