commit: eb83ca8be9d7e3c4ebfd7d9510f9a5402879ee42
parent: 7cde8778b76849f5160f83d4e8f282a6d108a4b7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 26 Jun 2019 01:15:49 +0200
.xinitrc: Use XKB_DEFAULT_* env for setxkbmap
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.xinitrc b/.xinitrc
@@ -1,4 +1,9 @@
-setxkbmap us -option terminate:ctrl_alt_bksp &
+setxkbmap \
+ -layout "${XKB_DEFAULT_LAYOUT}" \
+ -variant "${XKB_DEFAULT_VARIANT}" \
+ -option "${XKB_DEFAULT_OPTIONS}"
+# -rules "${XKB_DEFAULT_RULES}" \
+# -model "${XKB_DEFAULT_MODEL}" \
xset +dpms dpms 40 60 200 s 40 s expose s on &
xautolock -time 0 -locker slock -secure -detectsleep &
~/.screenlayout/default.sh &