summaryrefslogtreecommitdiff
path: root/sddm/Xsetup
diff options
context:
space:
mode:
Diffstat (limited to 'sddm/Xsetup')
-rwxr-xr-xsddm/Xsetup7
1 files changed, 7 insertions, 0 deletions
diff --git a/sddm/Xsetup b/sddm/Xsetup
new file mode 100755
index 0000000..b227db5
--- /dev/null
+++ b/sddm/Xsetup
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Xsetup - run as root before the login dialog appears
+
+# Swaps CAPSLOCK and ESC keys, e.g. for vim.
+# According to Arch Wiki, this only sets for SDDM and not subsequent sessions.
+setxkbmap -option caps:swapescape
+