aboutsummaryrefslogtreecommitdiff
path: root/.local/etc
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-10-06 10:10:23 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 11:59:43 +0200
commitbf49b2b447e43be3854e6361014318430ef2ad7f (patch)
tree30dfdef994f614f34c8c4679382900a4b4c99ab4 /.local/etc
parentef6a5a3da501b4dd7f4b609a61224dbb3dbd20e1 (diff)
Change how layout.sh is called
Diffstat (limited to '.local/etc')
-rw-r--r--.local/etc/x/xinitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/etc/x/xinitrc b/.local/etc/x/xinitrc
index 107fb46..e006f3d 100644
--- a/.local/etc/x/xinitrc
+++ b/.local/etc/x/xinitrc
@@ -17,6 +17,12 @@ xsetroot -cursor_name left_ptr
# load the .Xresources
xrdb -merge ~/.Xresources
+# Set a custom layout with xrandr
+if [ -f "$HOME/.local/etc/x/layout.sh" ]
+then
+ /bin/sh "$HOME/.local/etc/x/layout.sh"
+fi
+
# xkbmap options
setxkbmap \
-layout us \