at commit 51ccea63
| 1 | ;;;; common lisp window manager |
| 2 | ;;;; |
| 3 | ;;;; example user init file |
| 4 | |
| 5 | (in-package #:clwm-user) |
| 6 | |
| 7 | (defclass my-wm (keybinds-mixin |
| 8 | ignored-clients-mixin |
| 9 | focus-tracking-mixin |
| 10 | sloppy-focus-follows-mouse-mixin |
| 11 | wm) |
| 12 | ()) |
| 13 | |
| 14 | (defmethod key-bindings append ((wm my-wm)) |
| 15 | `(((:control :mod-1 #\Return) . ,(lambda (wm) (spawn wm "xterm"))))) |
| 16 | |
| 17 | (run-wm 'my-wm) |
| 18 | |
| 19 | ;; if slynk is desired |
| 20 | ;; (start-slynk) |