aboutsummaryrefslogtreecommitdiffstats
path: root/packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent')
-rwxr-xr-xpackages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent b/packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent
new file mode 100755
index 0000000000..6fa068214e
--- /dev/null
+++ b/packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Only if there's no mouse at all, we use use transparent cursors
+# for stylus use comfort.
+if ! ls /dev/input/mouse* >/dev/null 2>&1; then
+ echo "Xcursor.theme: xcursor-transparent" | xrdb -merge -nocpp
+fi