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

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

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

(
	beamergui -b -g &
) &