diff --git a/.sawfish/rc b/.sawfish/rc index 0135931..dbbee84 100644 --- a/.sawfish/rc +++ b/.sawfish/rc @@ -1,13 +1,21 @@ ;; -*- mode: sawfish; eval: (git-auto-commit-mode 1); -*- (define oni:extended-keymap (make-keymap)) (define oni:window-management-keymap (make-keymap)) +(define oni:window-packing-keymap (make-keymap)) (setq user-apps-menu '(("Emacs" (system "emacsclient -c &")) ("Terminal" (system "urxvt &")))) +(bind-keys oni:window-packing-keymap + "p" 'pack-window-up + "n" 'pack-window-down + "b" 'pack-window-left + "f" 'pack-window-right) + (bind-keys oni:window-management-keymap - "M" 'maximize-window) + "M" 'maximize-window + "p" oni:window-packing-keymap) (bind-keys oni:extended-keymap "w" oni:window-management-keymap)