summaryrefslogtreecommitdiffstats
path: root/.config/xinitrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-20 16:41:33 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-20 16:41:33 -0400
commiteb76d8ed5d4ffba4ad5cea1672acc3579402eafc (patch)
tree78d960fc255dbc3041771af6445991ca58dec34f /.config/xinitrc
parent6bcdd2bfca57589f5107463745002d32495e9107 (diff)
downloadeibhear-eb76d8ed5d4ffba4ad5cea1672acc3579402eafc.tar.gz
eibhear-eb76d8ed5d4ffba4ad5cea1672acc3579402eafc.tar.zst
eibhear-eb76d8ed5d4ffba4ad5cea1672acc3579402eafc.zip
i3 STATUSBAR fix and xinitrc moved/linked
Diffstat (limited to '.config/xinitrc')
-rwxr-xr-x.config/xinitrc21
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/xinitrc b/.config/xinitrc
new file mode 100755
index 0000000..e636c90
--- /dev/null
+++ b/.config/xinitrc
@@ -0,0 +1,21 @@
+#!/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. I keep those commands in ~/config/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.
+
+# export STATUSBAR="i3blocks" # Uncomment this line when using i3.
+
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
+
+# Your default LARBS WM is determined in your `~/.profile` on login. Here we
+# run the proper command to run when the graphical environment starts.
+
+# Comment/uncomment these lines depending on what wm you want to use. Also
+# check the i3blocks line above.
+ssh-agent dwm
+# ssh-agent i3