blob: 6c188f2fe270204f98a3ddaa588edea721da1b60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
# Resets custom keyboard modifications. This is usefull when
# pluggin/unplugging external keyboards to fix possible bugs.
# Keys modification applied:
# - CAPS-LOCK fix: modifies the CAPS-LOCK behaviour so that it send an
# <ESC> signal on release and a CTRL signal when hold.
# - CAPS-LOCK is (de)activated pressing both shift keys.
setxkbmap -option ctrl:nocaps -option shift:both_capslock
xcape -e 'Control_L=Escape'
|