Navigate groups (desktops) in StumpWM as a physical grid. Displays desktop grid as a message, with the current group highlighted, while navigating.
In your config.lisp:
(stumpwm:add-to-load-path "/path/to/cloned/swm-grid/")
(stumpwm:load-module "swm-grid")
(swm-grid:create-groups)
(stumpwm:define-key stumpwm:*top-map* (stumpwm:kbd "C-M-Right") "right-group")
(stumpwm:define-key stumpwm:*top-map* (stumpwm:kbd "C-M-Left") "left-group")
(stumpwm:define-key stumpwm:*top-map* (stumpwm:kbd "C-M-Down") "down-group")
(stumpwm:define-key stumpwm:*top-map* (stumpwm:kbd "C-M-Up") "up-group")
Name | Description |
---|---|
*width* | Width of the grid, in groups (desktops) |
*height* | Height of the grid, in groups (desktops) |
*default-group* | Index of the default group. Will be selected after group creation. |
create-groups | Call once at startup, after setting variables. Creates enough empty groups to fill the grid. |
DIRECTION-group | …where DIRECTION is left, right, up, or down. Navigate to the group in the given direction. |