summaryrefslogtreecommitdiffstats
path: root/core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh
blob: 5f4e2bfacce722f5cad496968fbfde5a4c2c3d55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/ash

[ "$EVENT" = "clicked" ] || exit 0

if ps u | grep -v grep | grep -q 'beamergui -b'; then
	exec beamergui -w
fi

(
	beamergui -b -g &
) &