summaryrefslogtreecommitdiff
path: root/.config/stumpwm
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-03-20 18:29:08 +0200
committerThanos Apollo <[email protected]>2023-03-20 18:29:08 +0200
commit7ae412a6ead4e25fc8580ad942e1f717c63fce74 (patch)
tree4e5fa3e4eebb75499d76fa42e10b26c728b45e2f /.config/stumpwm
parent042fb78782afc76a66bf75197907ea2d367d5966 (diff)
stumpwm: For keys add gr and us layout switches
Add F1 for us and F2 for gr layout, using setxkbmap
Diffstat (limited to '.config/stumpwm')
-rw-r--r--.config/stumpwm/keybindings.lisp8
1 files changed, 7 insertions, 1 deletions
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