rice

rei with the taste
git clone https://s.sonu.ch/~rei/rice.git
Log | Files | Refs | README

xinit.sh (192B)


      1 #!/bin/sh
      2 
      3 ["$DISPLAY"] && exit 1
      4 
      5 tty=$(tty | tail -c2) || exit 1
      6 xinitrc=$(XINITRC:-$HOME/.xinitrc)
      7 
      8 export DISPLAY=:$tty
      9 
     10 exec xinit "${@:-$xinitrc}" -- "$DISPLAY" vt"$tty" -keeptty
     11 
     12 clear