summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/LinHES-system')
-rw-r--r--abs/core-testing/LinHES-system/PKGBUILD4
-rw-r--r--abs/core-testing/LinHES-system/unclutter-toggle.sh8
2 files changed, 10 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD
index 7ef4b5b..0fad05d 100644
--- a/abs/core-testing/LinHES-system/PKGBUILD
+++ b/abs/core-testing/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=1.0
-pkgrel=54
+pkgrel=55
arch=('i686')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
@@ -8,7 +8,7 @@ install=LinHES.install
pkgdesc="scripts and things related to having a automated system"
depends=(linhes-sounds xdotool)
backup=(etc/modprobe.d/alsa-base)
-binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh"
+binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh unclutter-toggle.sh"
source=(LinHES-session LinHES-profile.sh $binfiles alsa-base)
diff --git a/abs/core-testing/LinHES-system/unclutter-toggle.sh b/abs/core-testing/LinHES-system/unclutter-toggle.sh
new file mode 100644
index 0000000..0ead751
--- /dev/null
+++ b/abs/core-testing/LinHES-system/unclutter-toggle.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+PIDUNC=`pidof unclutter`
+if [ -n "${PIDUNC}" ];
+then
+ killall -9 unclutter
+else
+ /usr/X11R6/bin/unclutter -root -idle 1 -jitter 200 -noevents &
+fi