Beer is a client script for Zephyros - OS X window manager server. Beer implements a window-management mode triggered by a single hotkey. That is, you press a hotkey to activate window management mode, press a (rapid) sequence of keys to execute desired action without feeling oneself an Emacs adept :D
Current features:
Ctrl+Alt+W
- enable window management mode
Up
- top half of window's screenDown
- bottom half of window's screenLeft
- left half of window's screenRight
- right half of window's screenUp, Left
- top left quarter of window's screenUp, Right
- top right quarter of window's screenDown, Left
- bottom left quarter of window's screenDown, Right
- bottom right quarter of window's screenEnter
- maximize windowLeft, Left
- move window to previous screenRight, Right
- move window to next screenW
- focus window to the topS
- focus window to the bottomA
- focus window to the leftD
- focus window to the rightEsc
- dismiss window-management mode (it's dismissed automatically after action by default, seeauto_dismiss
configuration option)
Some configuration can be overridden through ~/.beer.yml
.
Available options are:
mode_key
- window management mode trigger key shortcutkey_sequence_timeout
- key sequence conflict resolution timeoutauto_dismiss
- disarm window management mode automatically after actionlog
- log file name (Beer will log debug output if DEBUG environment variable is set)
I've installed KeyRemap4MacBook and remapped right Option key to F13, and set my mode_key
to Shift+F13
This is experimental software and most probably it will be rewritten eventually.
Released under MIT license.
Copyright (c) 2013 Vladimir Yarotsky
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.