summaryrefslogtreecommitdiff
path: root/scripts/xkfix
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-05-09 17:42:30 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-05-09 17:42:30 +0200
commit834f127ef8d3952bfe0deaa2abc31075d0d45de4 (patch)
tree10e8ee7a7be716a16fbdc1474aa7b45e43efd745 /scripts/xkfix
parent0a1512c2308dc47f114c693183aec6b277afd269 (diff)
downloadconfig-834f127ef8d3952bfe0deaa2abc31075d0d45de4.tar.gz
config-834f127ef8d3952bfe0deaa2abc31075d0d45de4.zip
Add shortcut for fixing keyboard
Diffstat (limited to 'scripts/xkfix')
-rwxr-xr-xscripts/xkfix7
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
6setxkbmap -option caps:swapescape
7setxkbmap -option compose:ralt

Generated with cgit - Back to sebastiano.tronto.net