summaryrefslogtreecommitdiffstats
path: root/.sawfish
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-06-19 09:31:34 +0200
committerGravatar Tom Willemsen2012-06-19 09:31:34 +0200
commit0c1b46579fe12c8c5bf473074056164d8199df59 (patch)
treed00de6eda032f81e81ae312a4a55c83d4ab45214 /.sawfish
parent243c6fe77a04457a16afff3dc3e000f989f7bcc1 (diff)
downloaddotfiles-0c1b46579fe12c8c5bf473074056164d8199df59.tar.gz
dotfiles-0c1b46579fe12c8c5bf473074056164d8199df59.zip
.sawfish/rc
Diffstat (limited to '.sawfish')
-rw-r--r--.sawfish/rc12
1 files changed, 11 insertions, 1 deletions
diff --git a/.sawfish/rc b/.sawfish/rc
index 33e4e81..80b971b 100644
--- a/.sawfish/rc
+++ b/.sawfish/rc
@@ -1,11 +1,21 @@
;; -*- mode: sawfish; eval: (git-auto-commit-mode 1); -*-
+(define oni:extended-keymap (make-keymap))
+(define oni:window-management-keymap (make-keymap))
+
(setq user-apps-menu
'(("Emacs" (system "emacsclient -c &"))
("Terminal" (system "urxvt &"))))
+(bind-keys window-management-keymap
+ "M" 'maximize-window)
+
+(bind-keys oni:extended-keymap
+ "w" 'oni:window-management-keymap)
+
(bind-keys global-keymap
"C-M-l" '(run-shell-command "i3lock -c \"#000000\"")
"Super-e" '(run-shell-command (getenv "EDITOR"))
"Super-w" '(run-shell-command (getenv "BROWSER"))
"Super-c" '(run-shell-command "urxvt")
- "Super-TAB" 'cycle-windows)
+ "Super-TAB" 'cycle-windows
+ "Super-x" 'oni:extended-keymap)