diff options
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -1,15 +1,8 @@ #!/bin/sh -# Filip's .profile +# Filip's .profile. # Set environmental variables . /home/filipek/.config/shell/envvarrc -# Autostart stuff on reboot -autostart="remaps slstatus xcompmgr xhidecursor" - -for program in $autostart; do - pidof -sx "$program" || "$program" & -done >/dev/null 2>&1 - -# Set wallpaper -xwallpaper --stretch "$HOME"/pix/wallpaper.jpg +# Start graphical server on user's current tty if not already running. +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" |
