voidrice/.xinitrc

20 lines
570 B
Text
Raw Normal View History

2018-12-01 15:11: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.
# 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 19:45:06 +00:00
2019-05-18 23:49:02 +00:00
while :; do
2019-05-19 01:19:17 +00:00
ssh-agent dwm || break
2019-05-18 23:49:02 +00:00
done