diff options
author | Karel Kočí <cynerd@email.cz> | 2017-03-26 10:52:25 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-03-26 10:52:25 +0200 |
commit | 8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2 (patch) | |
tree | 928f625765ce06dc386d818d05d52bcce29a80a1 /profile | |
parent | ae7ae956d0ac47c36f02c62627094e8358e724d9 (diff) | |
download | myconfigs-8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2.tar.gz myconfigs-8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2.tar.bz2 myconfigs-8c6bd13b6ecb5757a8f52c30eec648d7f94a4da2.zip |
Automatically start xserver on tty1
Diffstat (limited to 'profile')
-rw-r--r-- | profile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,3 +7,5 @@ pulseaudio --start 2>/dev/null 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 |