combine xinitrc to be one

This commit is contained in:
cuu
2018-12-25 14:58:32 +00:00
parent 95387464bd
commit 6b866f940e
3 changed files with 21 additions and 10 deletions

View File

@@ -1,4 +1,19 @@
feh --bg-center ~/launcher/sys.py/gameshell/wallpaper/desktopbg.jpg
exec ~/launcher/load.sh &
exec ~/launcher/sys.py/gsnotify/gsnotify-arm daemon&
exec /usr/bin/twm -f ~/launcher/.twmrc
session=${1:-gameshell}
case $session in
hdmi )
feh --bg-center ~/launcher/sys.py/gameshell/wallpaper/desktopbg.jpg
exec ~/launcher/load.sh &
exec ~/launcher/sys.py/gsnotify/gsnotify-arm daemon &
exec /usr/bin/twm -f ~/launcher/.twmrc
;;
gameshell )
feh --bg-center ~/launcher/sys.py/gameshell/wallpaper/loading.png
exec ~/launcher/load.sh &
exec ~/launcher/sys.py/gsnotify/gsnotify-arm &
exec awesome -c ~/launcher/awesome/rc.lua
;;
*)
exec $1;;
esac