summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-06-17 21:29:54 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-06-17 21:29:54 +0100
commitbe256a40e199194b69ae24b055822f0aed971d3c (patch)
tree5bc3618dba0d84aa5cd14b5061a4ffb38545f6e7 /.config
parent3de8e0782c43970e5af90a03839520a473b8a5c9 (diff)
Set keyboard layout to GB when starting x-server
Diffstat (limited to '.config')
-rw-r--r--.config/xinitrc6
-rw-r--r--.config/xprofile3
2 files changed, 9 insertions, 0 deletions
diff --git a/.config/xinitrc b/.config/xinitrc
index cbdfffd..c5f12cb 100644
--- a/.config/xinitrc
+++ b/.config/xinitrc
@@ -1,4 +1,10 @@
#!/bin/sh
+# xinitrc runs when you run starx
+
+# Source xprofile as that contains commands that need run whenever we startx.
+# Commands are kept in xprofile as that will run automatically if a display manager is used when logging in.
+. ~/.xprofile
+
exec ~/.local/bin/dwm
diff --git a/.config/xprofile b/.config/xprofile
new file mode 100644
index 0000000..18bcf24
--- /dev/null
+++ b/.config/xprofile
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+remaps & # Sets correct keyboard layout and remaps some keys to make life easier in dwm.