at commit a262df09

1 ;;;; common lisp window manager
2 ;;;;
3 ;;;; example user init file
4
5 (in-package #:clwm-user)
6
7 (defclass my-wm (pointer-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) . ,(spawn-command "xterm"))
16 ((:control :mod-1 #\x) . close-command)
17 ((:mod-1 #\Return) . hide-command)
18 ((:mod-1 :up) . raise-command)
19 ((:mod-1 :down) . lower-command)))
20
21 (run-wm 'my-wm)
22
23 ;; if slynk is desired
24 ;; (start-slynk)