Created
February 20, 2016 03:14
-
-
Save morhetz/4a312a3e7c01706df228 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set default values for screen padding | |
kwmc config padding top 40 | |
kwmc config padding bottom 30 | |
kwmc config padding left 30 | |
kwmc config padding right 30 | |
# Set default values for container gaps | |
kwmc config gap vertical 20 | |
kwmc config gap horizontal 20 | |
# Allow Kwm to tile windows | |
kwmc config tiling enable | |
# Let Kwm listen for hotkeys | |
kwmc config hotkeys enable | |
# Automatically float windows that fail to resize | |
kwmc config float-non-resizable enable | |
# Float a window if moved using the mouse | |
kwmc config dragndrop disable | |
# Set focus-follows-mouse-mode to autoraise | |
kwmc config focus autoraise | |
# Focus-follows-mouse is temporarily disabled when | |
# a floating window has focus | |
kwmc config focus standby-on-float enable | |
# The mouse will automatically move to the center | |
# of the focused window | |
kwmc config focus mouse-follows enable | |
# Allow window focus to wrap-around | |
kwmc config cycle-focus screen # all | disabled | |
# Default tiling mode for new spaces | |
kwmc config space bsp | |
# Override default tiling mode for given monitors | |
# kwmc config screen 0 bsp | |
# kwmc config screen 1 monocle | |
# Set default container split-ratio | |
kwmc config split-ratio 0.55 | |
# New splits become the left leaf-node | |
kwmc config spawn left | |
kwmc config add-role AXDialog iTerm2 | |
kwmc config float Steam | |
kwmc config float Photoshop | |
# Enable border for focused window | |
kwmc config focused-border enable | |
kwmc config focused-border size 6 | |
kwmc config focused-border color FFA89984 | |
# Enable border for marked window | |
kwmc config marked-border enable | |
kwmc config marked-border size 6 | |
kwmc config marked-border color FFCC5577 | |
# | |
# Toggle Focus Autoraise | |
kwmc bind cmd+ctrl-t config focus toggle | |
# Set Space Tiling Mode To BSP | |
kwmc bind cmd+ctrl-a space -t bsp | |
# Set Space Tiling Mode To Monocle | |
kwmc bind cmd+ctrl-s space -t monocle | |
# Set Space Tiling Mode To Floating | |
kwmc bind cmd+ctrl-d space -t float | |
# Mark Window | |
kwmc bind cmd-m mark -w focused | |
# Give Focus To Window | |
kwmc bind cmd-h window -f west | |
kwmc bind cmd-l window -f east | |
kwmc bind cmd-j window -f south | |
kwmc bind cmd-k window -f north | |
# Give focus to monitor | |
kwmc bind cmd-n screen -f next | |
kwmc bind cmd-p screen -f prev | |
# Move window between monitors | |
kwmc bind cmd+shift-n screen -m next | |
kwmc bind cmd+shift-p screen -m prev | |
# Move Focused Window | |
kwmc bind cmd+shift-h window -s west | |
kwmc bind cmd+shift-j window -s south | |
kwmc bind cmd+shift-k window -s north | |
kwmc bind cmd+shift-l window -s east | |
kwmc bind cmd+ctrl-h window -c reduce 0.05 | |
kwmc bind cmd+ctrl-l window -c expand 0.05 | |
# Set Temporary Window Container | |
kwmc bind cmd-f window -t fullscreen | |
kwmc bind cmd-shift-f window -t float | |
# Quit Kwm | |
kwmc bind cmd+shift-q quit | |
# Resize all windows to container | |
kwmc bind cmd-r tree -c refresh | |
# Rotate Window-Tree By 90* (Clockwise) | |
kwmc bind cmd+shift-g tree -r 90 | |
# Launch iTerm2 | |
kwmc bind cmd-return sys open -na /Applications/iTerm2.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment