summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-05-05 23:55:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-05-05 23:55:08 (GMT)
commit9468324f1aa9972e479480b5ba8b91397dec8cc6 (patch)
tree3d0949faf3a77dfdea3ccc0928d70ba9a105417e /abs/core-testing/LinHES-system
parent5ed8b93f81b2738ed8a07d1def042940c7245126 (diff)
downloadlinhes_pkgbuild-9468324f1aa9972e479480b5ba8b91397dec8cc6.zip
linhes_pkgbuild-9468324f1aa9972e479480b5ba8b91397dec8cc6.tar.gz
linhes_pkgbuild-9468324f1aa9972e479480b5ba8b91397dec8cc6.tar.bz2
LinHES-system/fluxbox: Add unclutter-toggle.sh
Closes FS#345
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