aboutsummaryrefslogtreecommitdiff
path: root/profile
blob: b175d9b88b1a881293a473f09c3b02958ac0c5c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Rest of the profile run only if login is from linux console
[[ "$(tty)" != /dev/tty* ]] && return

# Start pulse audio
pulseaudio --start 2>/dev/null
# Start music player daemon
mpd ~/.config/mpd/mpd.conf
# Start email synchronization
~/.local/sbin/syncemail
# And if we are on first terminal also automatically start x server
[ "$(tty)" = "/dev/tty1" ] && startx