i3, xinitrc: Move some programs to .xinitrc

This commit is contained in:
2019-07-01 02:00:47 -05:00
parent 067b33a780
commit 952ea6fb1d
2 changed files with 24 additions and 12 deletions

View File

@@ -1,7 +1,29 @@
#!/bin/sh
# Source in xsessionrc
if [ -z "$XSESSION_HAS_SOURCED" ]; then
source ~/.xsessionrc
fi
unset XDG_CURRENT_DESKTOP
unset XSESSION_HAS_SOURCED
# Basic setup
xset -b -dpms
# High-priority shit
pulseaudio &
mate-settings-daemon &
compton &
nitrogen --restore &
~/.config/polybar/launch.sh &
redshift &
# Start up whenever shit
dunst &
/usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1 &
/usr/lib/polkit-mate/polkit-mate-authentication-agent-1 &
mate-power-manager &
# Off to the races
exec i3