2020-02-09 12:26:32 +00:00
|
|
|
#!/bin/sh
|
2019-05-18 19:45:06 +00:00
|
|
|
|
2019-05-27 17:40:58 +00:00
|
|
|
# xinitrc runs automatically when you run startx.
|
|
|
|
|
2019-11-24 11:37:56 +00:00
|
|
|
# There are some small but important commands that need to be run when we start
|
2020-04-11 02:53:45 +00:00
|
|
|
# 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.
|
2019-11-24 11:37:56 +00:00
|
|
|
|
2020-04-11 02:53:45 +00:00
|
|
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
|
2019-11-24 11:37:56 +00:00
|
|
|
|
2019-11-26 22:50:41 +00:00
|
|
|
# Your default LARBS WM is determined in your `~/.profile` on login. Here we
|
|
|
|
# run the proper command to run when the graphical environment starts.
|
|
|
|
|
2020-04-11 02:53:45 +00:00
|
|
|
exec dwm
|
|
|
|
|
|
|
|
# To use i3, comment out the line above with dwm and uncomment these two:
|
|
|
|
# export STATUSBAR="i3blocks"
|
|
|
|
# exec i3
|