summaryrefslogtreecommitdiff
path: root/sddm
diff options
context:
space:
mode:
authorself <self@sateoki.xyz>2022-02-21 22:10:47 +0000
committerself <self@sateoki.xyz>2022-02-21 22:10:47 +0000
commite2a52c9a31c54bef7f119cccdc804d94c1e203b2 (patch)
treefc77b6c3e7e6b725d023ff239d9dd1b4a223bf3f /sddm
parent1429f40b1d3af928364c9c82b9451825cd3be05b (diff)
Added sddm setup stop scripts
Diffstat (limited to 'sddm')
-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