aboutsummaryrefslogtreecommitdiff
path: root/.local/etc/x/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.local/etc/x/xinitrc')
-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 \