summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-10 22:53:45 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-10 22:53:45 -0400
commit6f36fe31693ad7dd47ecb443901039eb5c96969f (patch)
tree3b9e1bdc384f28d012dda08bddbbfe0c839afa65 /.xinitrc
parent7ada6550073b9ec011fd8ec9cf571e55b57d1d97 (diff)
downloadeibhear-6f36fe31693ad7dd47ecb443901039eb5c96969f.tar.gz
eibhear-6f36fe31693ad7dd47ecb443901039eb5c96969f.tar.zst
eibhear-6f36fe31693ad7dd47ecb443901039eb5c96969f.zip
STATUSBAR uncommented only for i3, cleanup, probably broke everything LOL
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc22
1 files changed, 10 insertions, 12 deletions
diff --git a/.xinitrc b/.xinitrc
index c669ad2..09dbd4e 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -3,20 +3,18 @@
# 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.
+# 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.
-[ -f ~/.xprofile ] && . ~/.xprofile
+[ -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.
-case "$LARBSWM" in
- dwm) while :; do
- ssh-agent dwm || break
- done ;;
- i3) exec i3 ;;
- *) echo "No valid LARBS window manager detected." ;;
-esac
+exec dwm
+
+# To use i3, comment out the line above with dwm and uncomment these two:
+# export STATUSBAR="i3blocks"
+# exec i3