17 lines
803 B
Bash
Executable File
17 lines
803 B
Bash
Executable File
#!/bin/bash
|
|
#=======================================================
|
|
#Leave mod4 as windows key _only_
|
|
xmodmap -e 'remove mod4 = Hyper_L'
|
|
#=======================================================
|
|
#Set mod3 to capslock
|
|
xmodmap -e 'add mod3 = Hyper_L'
|
|
#=======================================================
|
|
#bind the ><\ key next to left shift and ctrl to be the left windows key since this ibm keyboard doesnt have one
|
|
xmodmap -e 'keycode 94 = Super_L'
|
|
#=======================================================
|
|
#bind the capslock key to Hyper, which is an unused extra modifier key
|
|
#xmodmap -e 'keycode 66 = Hyper_L'
|
|
#=======================================================
|
|
#Bind hyper, when pressed and released by itself, to hit escape, because vim is cool
|
|
#pkill xcape && xcape -e 'Hyper_L=Escape' -d
|