THEAARBS xinitrc

Raw

#!/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.

systemctl --user import-environment DISPLAY
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) &
export SSH_AUTH_SOCK &

[ -f ~/.xprofile ] && . ~/.xprofile

# Here we start dwm.
exec ~/.local/bin/startdwm
#exec dwm