From eb92395217bbad975dec3080c4e56bbe2e3f00d0 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 11 Nov 2023 09:01:12 +0200 Subject: qtile: Add brightnessctl keybindings --- .config/qtile/config.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/qtile/config.py') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index ebf2dcd..c6a5460 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -370,6 +370,12 @@ keys = [ Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer sset Master 5%+") ), + 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"))) ] mouse = [ -- cgit v1.2.3