From 6ed0c80b74c3c3106efa8f99586d85b27d1e2a79 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 25 Aug 2023 08:27:24 +0300 Subject: stumpwm: Update keybindings for x220 --- stumpwm.org | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'stumpwm.org') diff --git a/stumpwm.org b/stumpwm.org index cb049e5..447cdfa 100644 --- a/stumpwm.org +++ b/stumpwm.org @@ -317,13 +317,10 @@ (define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pamixer -d 5") (define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pamixer -i 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-") - - ;; Keyboard layout - (define-key *top-map* (kbd "F1") "exec setxkbmap us -option ctrl:swapcaps") - (define-key *top-map* (kbd "F2") "exec setxkbmap gr -option ctrl:swapcaps") + ;; x220 specific + (define-key *top-map* (kbd "F1") "exec brightnessctl --device='intel_backlight' set 5%-") + (define-key *top-map* (kbd "F2") "exec brightnessctl --device='intel_backlight' set +5%") + (define-key *top-map* (kbd "F3") "exec ~/dotfiles/scripts/keyboard-light-x220.sh") ;;; Groups ;; Switch to group -- cgit v1.2.3