summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-11-16 18:06:41 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-11-16 18:06:41 -0500
commitcba0fcc03d9cbab623eae419d308c5b1f7c1b193 (patch)
treed2fe9b76a7d323fb21605bb2e26298c37399832b /.config/x11/xinitrc
parent3215e7b4bb25f04db9caa4677caf32899de3e4c9 (diff)
downloadeibhear-cba0fcc03d9cbab623eae419d308c5b1f7c1b193.tar.gz
eibhear-cba0fcc03d9cbab623eae419d308c5b1f7c1b193.tar.zst
eibhear-cba0fcc03d9cbab623eae419d308c5b1f7c1b193.zip
old stuff removed
many files renamed, possible breakage
Diffstat (limited to '.config/x11/xinitrc')
-rwxr-xr-x.config/x11/xinitrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
new file mode 100755
index 0000000..2debc01
--- /dev/null
+++ b/.config/x11/xinitrc
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# xinitrc runs automatically when you run startx.
+
+# There are some small but important commands that need to be run when we start
+# the graphical environment. There is a link to this file in ~/.xprofile
+# because that file is run automatically if someone uses a display manager
+# (login screen) and so they are needed there. To prevent doubling up commands,
+# I source them here with the line below.
+
+if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
+ . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
+else
+ . "$HOME/.xprofile"
+fi
+
+ssh-agent dwm