summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
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.