Update .xinitrc

This commit is contained in:
ramaATgit 2019-12-27 08:14:20 +00:00 committed by GitHub
parent a6934232f7
commit b8b1879e84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,23 @@
#!/usr/bin/env sh
# xinitrc runs automatically when you run startx.
#!/bin/sh
exec i3
# 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.
## all the following lines are frome Lukes DWM setup
#[ -f ~/.xprofile ] && . ~/.xprofile
[ -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.
# 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
#case "$LARBSWM" in
# dwm) while :; do
# ssh-agent dwm || break
# done ;;
# i3) exec i3 ;;
# *) echo "No valid LARBS window manager detected." ;;
#esac