Group switch command for stumpwm

This commit is contained in:
Ian Keane 2026-08-08 15:03:49 -04:00
parent 6b688e4281
commit 8aa1f8a8a6

View file

@ -316,3 +316,13 @@ If PERSISTENT is t, smart-kill will hide the window instead of killing it."
(define-key *top-map* (kbd "s-\\") "hsplit")
(define-key *top-map* (kbd "s-W") *window-map*)
(define-key *top-map* (kbd "s-m") *media-map*)
;;; Groups
(grename "1")
(run-commands "gnewbg 2" "gnewbg 3" "gnewbg 4")
;;; Group switching
(define-key *top-map* (kbd "s-1") "gselect 1")
(define-key *top-map* (kbd "s-2") "gselect 2")
(define-key *top-map* (kbd "s-3") "gselect 3")
(define-key *top-map* (kbd "s-4") "gselect 4")