xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

X11.sh (434B)


      1 #!/bin/bash
      2 
      3 set "$(dirname "$0")"/X11.bin "${@}"
      4 
      5 if [ -x ~/.x11run ]; then
      6 	exec ~/.x11run "${@}"
      7 fi
      8 
      9 case $(basename "${SHELL}") in
     10 	bash)          exec -l "${SHELL}" --login -c 'exec "${@}"' - "${@}" ;;
     11 	ksh|sh|zsh)    exec -l "${SHELL}" -c 'exec "${@}"' - "${@}" ;;
     12 	csh|tcsh)      exec -l "${SHELL}" -c 'exec $argv:q' "${@}" ;;
     13 	es|rc)         exec -l "${SHELL}" -l -c 'exec $*' "${@}" ;;
     14 	*)             exec    "${@}" ;;
     15 esac