voidrice/.xinitrc

20 lines
570 B
Text
Raw Normal View History

2018-12-01 10:11:32 -05:00
#!/bin/sh
2019-05-18 15:45:06 -04:00
2019-05-27 13:40:58 -04:00
# 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
# Here we start dwm.
# The loop is just to enable dwm's "restart" feature (mod+F2).
2019-05-18 15:45:06 -04:00
2019-05-18 19:49:02 -04:00
while :; do
2019-05-18 21:19:17 -04:00
ssh-agent dwm || break
2019-05-18 19:49:02 -04:00
done