voidrice/.xinitrc
2020-02-13 22:39:57 -05:00

22 lines
783 B
Bash

#!/usr/bin/env 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
[ -f ~/.profile ] && . ~/.profile
# Your default LARBS WM is determined in your `~/.profile` on login. Here we
# run the proper command to run when the graphical environment starts.
# If you have problems, log it out:
exec i3 -V >> ~/i3log-$(date +'%F-%k-%M-%S') 2>&1
# But usually you dont want to clutter ~/, so use:
# exec i3