From 673cb2302b5b55515b93362c2cb96529acf6d58d Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Sat, 18 Mar 2023 20:35:39 +0200 Subject: Add keybindings for brightnessctl --- .config/stumpwm/keybindings.lisp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/stumpwm/keybindings.lisp') diff --git a/.config/stumpwm/keybindings.lisp b/.config/stumpwm/keybindings.lisp index d4ec2e5..63da275 100644 --- a/.config/stumpwm/keybindings.lisp +++ b/.config/stumpwm/keybindings.lisp @@ -30,6 +30,12 @@ (define-key *top-map* (kbd "XF86AudioLowerVolume") "exec amixer sset Master 5%-") (define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec amixer sset Master 5%+") +;;Keyboard-light + +(define-key *top-map* (kbd "XF86Explorer") "exec brightnessctl --device='tpacpi::kbd_backlight' set +1") +(define-key *top-map* (kbd "XF86LaunchA") "exec brightnessctl --device='tpacpi::kbd_backlight' set 1-") +(define-key *top-map* (kbd "") "exec amixer sset Master 5%+") + ;;; Groups ;; Switch to group (define-key *top-map* (kbd "s-1") "gselect 1") @@ -50,4 +56,4 @@ ;; Focus (define-key *top-map* (kbd "s-b") "move-focus left") (define-key *top-map* (kbd "s-f") "move-focus right") -(define-key *top-map* (kbd "s-n") "move-focus down") \ No newline at end of file +(define-key *top-map* (kbd "s-n") "move-focus down") -- cgit v1.2.3