25 lines
941 B
Bash
25 lines
941 B
Bash
#!/usr/bin/env sh
|
|
# Fix Gnome Apps Slow Start due to failing services
|
|
# Add this when you include flatpak in your system
|
|
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
|
|
|
|
# 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
|
|
|
|
# Your default LARBS WM is determined in your `~/.profile` on login. Here we
|
|
# run the proper command to run when the graphical environment starts.
|
|
|
|
case "$LARBSWM" in
|
|
dwm) while :; do
|
|
ssh-agent dwm || break
|
|
done ;;
|
|
i3) exec i3 ;;
|
|
*) echo "No valid LARBS window manager detected." ;;
|
|
esac
|