summaryrefslogtreecommitdiff
path: root/stumpwm.org
diff options
context:
space:
mode:
Diffstat (limited to 'stumpwm.org')
-rw-r--r--stumpwm.org11
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