diff options
author | Tom Willemse | 2013-11-03 21:21:21 +0100 |
---|---|---|
committer | Tom Willemse | 2013-11-03 21:21:21 +0100 |
commit | 5c6cd059e8395d7f24d4b199e59c8c2f562dc438 (patch) | |
tree | 2e108e0724b5f5248de11c515312fa8c7c04ab4c /clfswm | |
parent | cca8771d855a3c8ba67bcb43a45967d9e4b6dd15 (diff) | |
download | dotfiles-5c6cd059e8395d7f24d4b199e59c8c2f562dc438.tar.gz dotfiles-5c6cd059e8395d7f24d4b199e59c8c2f562dc438.zip |
New stow hierarchy
Diffstat (limited to 'clfswm')
-rw-r--r-- | clfswm/.config/clfswm/clfswmrc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/clfswm/.config/clfswm/clfswmrc b/clfswm/.config/clfswm/clfswmrc new file mode 100644 index 0000000..f69623e --- /dev/null +++ b/clfswm/.config/clfswm/clfswmrc @@ -0,0 +1,25 @@ +;; -*- mode: lisp; -*- +(in-package :clfswm) + +(defun start-i3lock () + "Run i3lock" + (do-shell "exec i3lock -c 000000")) + +(defun start-i3lock-2 () + "Run i3lock in second mode" + (setf *second-mode-leave-function* 'start-i3lock) + (leave-second-mode)) + +(defun my-bindings () + (define-main-key ("l" :mod-1 :control) 'start-i3lock) + (define-second-key ("l" :mod-1 :control) 'start-i3lock-2)) + +(add-hook *binding-hook* 'my-bindings) + +;; (defun my-init-hook () +;; (add-frame (create-frame :name "The Gimp" :x 0.6 :y 0 :w 0.3 :h 0.2) *root-frame*)) + +;;y (add-hook *init-hook* 'my-init-hook) + +;;(setf *frame-background* "#252a2b") +;;(setf *frame-foreground* "#eeeeec") |