#
# ܡɥ硼ȥåȤ
#
# these examples aren't mnemonic; rather they are placed to allow
# you to control all keyboard stuff from the left hand, so that
# you may leave the right hand on the mouse.  Needless to say,
# that leaves left-handers with a bit of a problem...  
#
# I have these using modifier keys that might not make sense
# depending on your system.  xmodmap(1) can be used to determine
# or modify modifier keys; on my machine Mod1 is the alt key,
# and Mod4 is my meta key (my Windows(tm) key is bound to Meta).
#
# another tip: if you're the sort who likes _lots_ of hotkeys,
# you may want to put your keys section in ~/.golem/keysrc and
# then just use a .include "keysrc" here.
#
keys {
	#
	# because key_command passes it's arg to /bin/sh, put an exec
	# in front of the program to prevent it from leaving an sh -c
	# process laying around
	#
	key_command		"q"	(Mod4Mask) "exec xterm";
	key_command		"w"	(Mod4Mask) "exec xterm -geometry 132x60";

	key_iconify 		"1"	(ControlMask);
#
# 粽(ɥե졼ʤ)/᤹
#
key_zoom		"2"	(ControlMask);

	#key_delete		"w"	(ControlMask);
	key_dgroup_switch	"c"	(Mod4Mask);
	key_raise		"Up"	(Mod1Mask);
	key_lower		"Down"	(Mod1Mask);
	key_sticky		"s"	(Mod4Mask);

#
# [ǥȥåפ]
#
# []
#
#  key_switchdesktop Хǥ ưǥȥå;
#
# []
#
#  Ctrl+ ǥȥå0
#  Ctrl+ ǥȥå1
#  Ctrl+ ǥȥå2
#  Ctrl+ ǥȥå3
#
key_switchdesktop	"Up"	(ControlMask) 0;
key_switchdesktop	"Left"	(ControlMask) 1;
key_switchdesktop	"Down"	(ControlMask) 2;
key_switchdesktop	"Right"	(ControlMask) 3;
	#key_moveviewport	"Up"	(Mod1Mask | Mod4Mask) mv_up;
	#key_moveviewport	"Down"	(Mod1Mask | Mod4Mask) mv_down;
	#key_moveviewport	"Left"	(Mod1Mask | Mod4Mask) mv_left;
	#key_moveviewport	"Right"	(Mod1Mask | Mod4Mask) mv_right;
	#
	# here's another example that allows you to use all
	# left hand for this; and thus keep the right hand on
	# the mouse...
	#
	#key_moveviewport	"w"	(ControlMask | Mod1Mask) mv_up;
	#key_moveviewport	"s"	(ControlMask | Mod1Mask) mv_down;
	#key_moveviewport	"a"	(ControlMask | Mod1Mask) mv_left;
	#key_moveviewport	"d"	(ControlMask | Mod1Mask) mv_right;

	#
	# you can also make non-relative viewport moving bindings
	#
	#key_setviewport	"1"	(Mod4Mask) 0,0;
	#key_setviewport	"2"	(Mod4Mask) 1,1;

	#
	# golem has several methods of focus cycling with hotkeys that
	# are useful for people using multi-screen displays.  I use the
	# settings below, which make alt-tab and mod4-tab do normal
	# cycling on the screen that has the focused window, and alt-esc
	# and mod4-esc do cycling between screens.  One other style
	# that you may be interested in is cycle_fall and cycle_ball,
	# which cycle all the visible windows on any screen.
	#
	key_cycle_focus	"Tab"		(Mod1Mask) cycle_fwspace;
	key_cycle_focus	"Tab"		(Mod4Mask) cycle_bwspace;
	key_cycle_focus	"Escape"	(Mod1Mask) cycle_fscr;
	key_cycle_focus	"Escape"	(Mod4Mask) cycle_bscr;

	#
	# this is disabled by default so that people don't accidently
	# restart the window manager.
	#
	#key_restart	"Escape"	(Mod1Mask | Mod4Mask);
}

