Last active
August 29, 2015 14:08
-
-
Save davidosomething/30a7c2838d6c34f906a0 to your computer and use it in GitHub Desktop.
OSX style Super-c copy, Super-v paste in OpenBox
This file contains 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
<!-- requires xsel, xvkbd, and xdotool --> | |
<!-- OSX style copy Super-c --> | |
<keybind key="W-c"> | |
<action name="Execute"> | |
<command>xdotool key XF86Copy</command> | |
</action> | |
</keybind> | |
<!-- OSX style paste Super-v --> | |
<keybind key="W-v"> | |
<action name="Execute"> | |
<command>sh -c 'xsel | xvkbd -xsendevent -file -'</command> | |
</action> | |
</keybind> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alternatively, paste via middle click