]> git.armaanb.net Git - bin.git/blob - keyboard-swap
6e77d16d08c75028bb326df1eb67589c019d5e12
[bin.git] / keyboard-swap
1 #!/usr/bin/env sh
2 # Swaps caps and control, then makes it so holding the old caps key acts as
3 # control and tapping it as escape
4
5 setxkbmap -option "ctrl:swapcaps"
6 pkill xcape && xcape