summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-11-11 09:01:12 +0200
committerThanos Apollo <[email protected]>2023-11-11 09:01:12 +0200
commiteb92395217bbad975dec3080c4e56bbe2e3f00d0 (patch)
tree98054f66b99ce5135e888feb1424de6135ddfb48
parent4fe4d285b569700fe061059159dce75f03ce6f39 (diff)
qtile: Add brightnessctl keybindings
-rw-r--r--.config/qtile/config.py6
1 files changed, 6 insertions, 0 deletions
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 = [