OSDN Git Service

Merge branch 'master' of https://github.com/instantos/instantOS
[instantos/instantOS.git] / programs / instantxsession
1 #!/bin/bash
2
3 ###############################################
4 ## x session for instantOS, use with startx ##
5 ###############################################
6
7 # used for shutdown
8 [ -e ~/.instantosrunning ] || touch ~/.instantosrunning
9
10 # loop so crashing instantwm doesn't end the x session
11 while test -e ~/.instantosrunning; do
12     instantwm
13     sleep 1
14 done