summaryrefslogtreecommitdiffstats
path: root/core/modules/beamergui/data/opt/openslx/pvs2/showBeamergui.sh
blob: 9b08a11a9384232ba50f693c38d3702ceb6ba814 (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 &
) &> /dev/null &