Instantly share code, notes, and snippets.

@mrbig033 /mykeys.sh
Last active Sep 23, 2018

Embed
What would you like to do?
#!/bin/bash
# {{{ clean
# replace the layout with the one in your locale (mine is "br")
setxkbmap -option -layout br
# }}}
# {{{ source
xmodmap /path/to/xmodmaps
# }}}
# {{{ xcape
pkill -fi xcape
# xcape -t 200 -e 'F2=Super_L|Right'
# xcape -t 200 -e 'Super_L=Super_L|Up'
xcape -t 200 -e 'Control_L=Escape'
xcape -t 200 -e 'Alt_L=Tab'
# }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment