blob: 9bb70b1d2d5c66794f4c11fc8faf6c971baeae54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/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
# Here we start dwm.
# The loop is just to enable dwm's "restart" feature (mod+F2).
while :; do
ssh-agent dwm || break
done
|