solorice/.config/X11/xinitrc
2023-02-22 22:07:40 +02:00

20 lines
612 B
Bash
Executable File

#!/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. There is a link to this file 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.
if [ -f "$XDG_CONFIG_HOME/X11/xprofile" ]; then
. "$XDG_CONFIG_HOME/X11/xprofile"
else
. "$HOME/.xprofile"
fi
ssh-agent "$WM"
# exec ssh-agent dbus-launch --sh-syntex --exit-with-session awesome