Skip to content

Instantly share code, notes, and snippets.

@noodlehaus
Last active Oct 7, 2016
Embed
What would you like to do?
Karabiner bindings for pok3r
<?xml version="1.0"?>
<root>
<!-- mac management -->
<item>
<name>Set Command_L + Esc to Window Switch</name>
<identifier>private.cmd_l_esc_to_window_switch</identifier>
<autogen>
__KeyToKey__
KeyCode::ESCAPE,
ModifierFlag::COMMAND_L,
KeyCode::BACKQUOTE,
ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Set Control_L + Delete to Mac Shutdown Menu</name>
<identifier>private.ctrl_l_delete_to_power</identifier>
<autogen>
__KeyToKey__
KeyCode::DELETE,
ModifierFlag::CONTROL_L,
ConsumerKeyCode::EJECT,
ModifierFlag::CONTROL_L
</autogen>
</item>
<item>
<name>Set Shift_R + Esc to ~</name>
<identifier>private.cmd_l_esc_to_task_tilde</identifier>
<autogen>
__KeyToKey__
KeyCode::ESCAPE,
ModifierFlag::SHIFT_R,
KeyCode::BACKQUOTE,
ModifierFlag::SHIFT_R
</autogen>
</item>
<!-- volume keys -->
<item>
<name>Set Option_R + S to Volume Down</name>
<identifier>private.opt_r_s_to_volume_down</identifier>
<autogen>
__KeyToKey__
KeyCode::S,
ModifierFlag::OPTION_R,
ConsumerKeyCode::VOLUME_DOWN
</autogen>
</item>
<item>
<name>Set Option_R + D to Volume Up</name>
<identifier>private.opt_r_d_to_volume_up</identifier>
<autogen>
__KeyToKey__
KeyCode::D,
ModifierFlag::OPTION_R,
ConsumerKeyCode::VOLUME_UP
</autogen>
</item>
<item>
<name>Set Option_R + F to Mute</name>
<identifier>private.opt_r_f_to_mute</identifier>
<autogen>
__KeyToKey__
KeyCode::F,
ModifierFlag::OPTION_R,
ConsumerKeyCode::VOLUME_MUTE
</autogen>
</item>
<!-- media keys -->
<item>
<name>Set Option_R + X to Media Prev</name>
<identifier>private.opt_r_x_to_media_prev</identifier>
<autogen>
__KeyToKey__
KeyCode::X,
ModifierFlag::OPTION_R,
ConsumerKeyCode::MUSIC_PREV
</autogen>
</item>
<item>
<name>Set Option_R + C to Media Play</name>
<identifier>private.opt_r_C_to_media_play</identifier>
<autogen>
__KeyToKey__
KeyCode::C,
ModifierFlag::OPTION_R,
ConsumerKeyCode::MUSIC_PLAY
</autogen>
</item>
<item>
<name>Set Option_R + V to Media Next</name>
<identifier>private.opt_r_v_to_media_next</identifier>
<autogen>
__KeyToKey__
KeyCode::V,
ModifierFlag::OPTION_R,
ConsumerKeyCode::MUSIC_NEXT
</autogen>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment