diff options
author | Thanos Apollo <[email protected]> | 2023-08-25 08:27:24 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-25 09:09:35 +0300 |
commit | 6ed0c80b74c3c3106efa8f99586d85b27d1e2a79 (patch) | |
tree | b5b3157d00941797225857439d3e6ef5fcb1003a /stumpwm.org | |
parent | bb03a12cb510c224fa496ddbe4eced6cfb07512c (diff) |
stumpwm: Update keybindings for x220
Diffstat (limited to 'stumpwm.org')
-rw-r--r-- | stumpwm.org | 11 |
1 files changed, 4 insertions, 7 deletions
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 |