From 7ae412a6ead4e25fc8580ad942e1f717c63fce74 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 20 Mar 2023 18:29:08 +0200 Subject: stumpwm: For keys add gr and us layout switches Add F1 for us and F2 for gr layout, using setxkbmap --- .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 916150e..12581d6 100644 --- a/.config/stumpwm/keybindings.lisp +++ b/.config/stumpwm/keybindings.lisp @@ -38,9 +38,15 @@ (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-") +<<<<<<< HEAD +======= + +;; Keyboard layout +(define-key *top-map* (kbd "F1") "exec setxkbmap us") +(define-key *top-map* (kbd "F2") "exec setxkbmap gr") +>>>>>>> d570427 (stumpwm: For keys add gr and us layout switches) ;;; Groups ;; Switch to group -- cgit v1.2.3