diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-09 17:42:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-09 17:42:30 +0200 |
| commit | 834f127ef8d3952bfe0deaa2abc31075d0d45de4 (patch) | |
| tree | 10e8ee7a7be716a16fbdc1474aa7b45e43efd745 /scripts/xkfix | |
| parent | 0a1512c2308dc47f114c693183aec6b277afd269 (diff) | |
| download | config-834f127ef8d3952bfe0deaa2abc31075d0d45de4.tar.gz config-834f127ef8d3952bfe0deaa2abc31075d0d45de4.zip | |
Add shortcut for fixing keyboard
Diffstat (limited to 'scripts/xkfix')
| -rwxr-xr-x | scripts/xkfix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/xkfix b/scripts/xkfix new file mode 100755 index 0000000..8697362 --- /dev/null +++ b/scripts/xkfix | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Swap Esc and Caps Lock and set compose key to Right Alt | ||
| 4 | # Requires: setxkbmap | ||
| 5 | |||
| 6 | setxkbmap -option caps:swapescape | ||
| 7 | setxkbmap -option compose:ralt | ||
