2020-05-17 20:19:28 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This file runs when a DM logs you into a graphical session.
|
|
|
|
# If you use startx/xinit like a Chad, this file will also be sourced.
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2020-08-28 17:31:21 +00:00
|
|
|
# Autostart Pulseaudio if installed and not already started by init.
|
|
|
|
# Chromium/Brave doesn't automatically start Pulse for some reason.
|
|
|
|
[ -x /usr/bin/pulseaudio ] &&
|
|
|
|
! pidof pulseaudio >/dev/null &&
|
|
|
|
setsid -f pulseaudio --start >/dev/null 2>&1
|
|
|
|
|
2020-05-17 20:19:28 +00:00
|
|
|
mpd & # music player daemon-you might prefer it as a service though
|
|
|
|
remaps & # run the remaps script, switching caps/esc and more; check it for more info
|
|
|
|
setbg & # set the background with the `setbg` script
|
|
|
|
#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources & # Uncomment to use Xresources colors/settings on startup
|
|
|
|
xcompmgr & # xcompmgr for transparency
|
|
|
|
dunst & # dunst for notifications
|
|
|
|
xset r rate 300 50 & # Speed xrate up
|
|
|
|
unclutter & # Remove mouse when idle
|