Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (65 sloc) 2.17 KB
# Possible Mods are Alt, CtrlAlt, ShftAlt, Super, ShftSuper, CtrlSuper
# Set external commands ; use with spawn
CMD dmenucmd;dmenu_run;-i;-nb;#666622;-nf;white;NULL;
CMD xtermcmd;xterm;NULL;
KEY Alt;1;change_desktop;0;
KEY Alt;2;change_desktop;1;
KEY Alt;3;change_desktop;2;
KEY Alt;4;change_desktop;3;
KEY Alt;5;change_desktop;4;
KEY Alt;6;change_desktop;5;
KEY Alt;7;change_desktop;6;
KEY Alt;8;change_desktop;7;
KEY Alt;9;change_desktop;8;
KEY Alt;F10;change_desktop;9;
# Send an app to another desktop and follow it
KEY ShftAlt;1;follow_client_to_desktop;0;
KEY ShftAlt;2;follow_client_to_desktop;1;
KEY ShftAlt;3;follow_client_to_desktop;2;
KEY ShftAlt;4;follow_client_to_desktop;3;
KEY ShftAlt;5;follow_client_to_desktop;4;
KEY ShftAlt;6;follow_client_to_desktop;5;
KEY ShftAlt;7;follow_client_to_desktop;6;
KEY ShftAlt;8;follow_client_to_desktop;7;
KEY ShftAlt;9;follow_client_to_desktop;8;
KEY ShftAlt;F10;follow_client_to_desktop;9;
# Send an app to another desktop but dont't follow it
KEY ShftSuper;1;client_to_desktop;0;
KEY ShftSuper;2;client_to_desktop;1;
KEY ShftSuper;3;client_to_desktop;2;
KEY ShftSuper;4;client_to_desktop;3;
KEY ShftSuper;5;client_to_desktop;4;
KEY ShftSuper;6;client_to_desktop;5;
KEY ShftSuper;7;client_to_desktop;6;
KEY ShftSuper;8;client_to_desktop;7;
KEY ShftSuper;9;client_to_desktop;8;
KEY ShftSuper;F10;client_to_desktop;9;
KEY Alt;c;kill_client;
KEY Alt;j;next_win;
KEY Alt;k;prev_win;
KEY Alt;h;resize_master;10;
KEY Alt;l;resize_master;-10;
KEY Alt;p;resize_stack;10;
KEY Alt;o;resize_stack;-10;
KEY Alt;u;update_config;
KEY Alt;Tab;last_desktop;
# Shortcut for dmenu_run
KEY Alt;v;spawn;dmenucmd;
# Add a window to the master area in vertical/horizontal mode
KEY ShftAlt;m;more_master;1;
KEY ShftAlt;l;more_master;-1;
KEY ShftAlt;k;move_down;10;
KEY ShftAlt;j;move_up;-10;
KEY ShftAlt;Return;swap_master;
# Switch tiling mode to vertical
KEY ShftAlt;v;switch_mode;0;
# Switch tiling mode to fullscreen
KEY ShftAlt;f;switch_mode;1;
# Switch tiling mode to columns
KEY ShftAlt;f;switch_mode;2;
KEY Super;Right;rotate_desktop;1;
KEY Super;Left;rotate_desktop;-1;
# Shortcut for xterm
KEY Super;t;spawn;xtermcmd;
# Shortcut to exit the window manager
KEY CtrlAlt;q;quit;