Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgutter/swm-grid
StumpWM Desktop Grid package.
https://github.com/bgutter/swm-grid
Last synced: 8 days ago
JSON representation
StumpWM Desktop Grid package.
- Host: GitHub
- URL: https://github.com/bgutter/swm-grid
- Owner: bgutter
- License: mit
- Created: 2019-04-16T07:45:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-17T07:15:38.000Z (almost 6 years ago)
- Last Synced: 2025-01-11T16:51:25.914Z (16 days ago)
- Language: Common Lisp
- Homepage:
- Size: 3.48 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
- awesome-stumpwm - grid - Desktop Grid module (Modules)
README
#+TITLE: swm-grid
[[./example.gif]]
Navigate groups (desktops) in StumpWM as a physical grid. Displays
desktop grid as a message, with the current group highlighted, while
navigating.* Installation & Quickstart
In your config.lisp:
#+BEGIN_SRC common-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")
#+END_SRC* Exported Symbols
| 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. |