diff options
author | Julian Xhokaxhiu | 2020-08-27 22:12:26 +0200 |
---|---|---|
committer | Julian Xhokaxhiu | 2020-08-27 22:12:26 +0200 |
commit | e73d682a20896639f13c9bee7a13b609b644effc (patch) | |
tree | e9e74e75be1b287ea60129699900f2f43e5b1bdd /retroarch-standalone.xinitrc | |
parent | 816aea889f22c91c9c258c552433b1d0b03496e7 (diff) | |
download | aur-retroarch-standalone-service.tar.gz |
2-14
Add aarch64 support
Diffstat (limited to 'retroarch-standalone.xinitrc')
-rw-r--r-- | retroarch-standalone.xinitrc | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/retroarch-standalone.xinitrc b/retroarch-standalone.xinitrc index 363ecfbf17a7..5d1dc1ea14a2 100644 --- a/retroarch-standalone.xinitrc +++ b/retroarch-standalone.xinitrc @@ -6,10 +6,21 @@ xset -dpms # disable DPMS (Energy Star) features. xset s noblank # don't blank the video device # Hide mouse cursor -unclutter -display :0.0 -noevents -grab -root -reset & +unclutter -display :0.0 -root & # Clean old debug logs rm /home/retroarch/debug.log 2>&1 >&/dev/null # Autostart Retroarch -exec /usr/bin/retroarch --appendconfig=/etc/retroarch-standalone.cfg -v 2>&1 >&/home/retroarch/debug.log +exit_code=1 +while [ "$exit_code" -ne "0" ] +do + /usr/bin/retroarch --appendconfig=/etc/retroarch-standalone.cfg -v --log-file /home/retroarch/debug.log + exit_code=$? +done + +if [ -x "/home/retroarch/.xinit_exit" ] +then + /home/retroarch/.xini_exit +fi + |