.xinitrc 833 B

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