.xinitrc 754 B

123456789101112131415161718192021222324252627
  1. session=${1:-gameshell}
  2. case $session in
  3. hdmi )
  4. exec /usr/bin/aria2c --conf-path=/home/cpi/launcher/aria2.conf &
  5. feh --bg-center ~/launchergo/sysgo/gameshell/wallpaper/desktopbg.jpg
  6. cd ~/launchergo/
  7. exec ~/launchergo/app &
  8. exec ~/launchergo/load.sh &
  9. exec ~/launcher/sys.py/gsnotify/gsnotify-arm daemon &
  10. # exec /usr/bin/twm -f ~/launchergo/.twmrc
  11. exec ~/launchergo/dwm-mod
  12. ;;
  13. gameshell )
  14. exec /usr/bin/aria2c --conf-path=/home/cpi/launcher/aria2.conf &
  15. feh --bg-center ~/launchergo/sysgo/gameshell/wallpaper/loading.png
  16. cd ~/launchergo/
  17. exec ~/launchergo/app &
  18. exec ~/launchergo/load.sh &
  19. exec ~/launcher/sys.py/gsnotify/gsnotify-arm &
  20. # exec awesome -c ~/launchergo/awesome/rc.lua
  21. exec ~/launchergo/dwm-mod -w
  22. ;;
  23. *)
  24. exec $1;;
  25. esac