Skip to content

Instantly share code, notes, and snippets.

@dwhitney
Created November 22, 2016 19:23
Show Gist options
  • Save dwhitney/de2125a805a5c6c3e9a238d2236083bf to your computer and use it in GitHub Desktop.
Save dwhitney/de2125a805a5c6c3e9a238d2236083bf to your computer and use it in GitHub Desktop.
~/.kddrc
khd kwm on
khd mode layout prefix on
khd mode layout timeout 2
khd mode layout restore default
khd mode default color 0xFFFFFFFF
ctrl - tab : khd -e "mode activate layout";\
kwmc config border focused on; \
kwmc config border focused size 2; \
kwmc config border focused color 0xFF20C20E;\
kwmc config border focused radius 10;
layout - escape : khd -e "mode activate default"
layout - h : kwmc window -f west
layout - l : kwmc window -f east
layout - j : kwmc window -f south
layout - k : kwmc window -f north
layout + shift - h : kwmc window -s west
layout + shift - l : kwmc window -s east
layout + shift - j : kwmc window -s south
layout + shift - k : kwmc window -s north
layout - right : kwmc window -c expand 0.05 east
layout - down : kwmc window -c expand 0.05 south
layout - up : kwmc window -c expand 0.05 north
layout - left : kwmc window -c expand 0.05 west
layout + shift - right : kwmc window -c reduce 0.05 west
layout + shift - down : kwmc window -c reduce 0.05 north
layout + shift - up : kwmc window -c reduce 0.05 south
layout + shift - left : kwmc window -c reduce 0.05 east
layout - m : kwmc window -mk focused
layout + shift - m : kwmc window -m mark
layout - s : kwmc window -c split-mode toggle
layout - r : kwmc tree rotate 90
layout - t : kwmc window -c type toggle
layout - n : kwmc window -fm next
layout - p : kwmc window -fm prev
layout - f : kwmc window -z fullscreen
layout - o : kwmc window -t focused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment