summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorJackson Taylor <jackson@jacksontaylor.xyz>2021-02-01 18:58:28 -0500
committerJackson Taylor <jackson@jacksontaylor.xyz>2021-02-01 18:58:28 -0500
commit445f6eaeb94d97aa271970b0fdbbb6841dd349a4 (patch)
treee494e69305d53339490eb6df6510304d79dbe12a /.xinitrc
parente5d3687bf9c7c83e9841f9e70c73a05d8ae56c02 (diff)
Add profile, xinitrc and xprofile
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc26
1 files changed, 26 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..25a7cc3
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,26 @@
+#!/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 ~/.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.
+
+[ -f ~/.xprofile ] && . ~/.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.
+
+# case "$LARBSWM" in
+# dwm) while :; do
+# ssh-agent dwm || break
+# done ;;
+# i3) exec i3 ;;
+# *) echo "No valid LARBS window manager detected." ;;
+# esac
+
+exec dwm
+# exec i3
+# exec bspwm