summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsddm/Xsetup7
-rwxr-xr-xsddm/Xstop2
2 files changed, 9 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
+
diff --git a/sddm/Xstop b/sddm/Xstop
new file mode 100755
index 0000000..29c0f99
--- /dev/null
+++ b/sddm/Xstop
@@ -0,0 +1,2 @@
+#!/bin/sh
+# Xstop - run as root after stopping X