summaryrefslogtreecommitdiff
path: root/recipes/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent')
-rwxr-xr-xrecipes/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent b/recipes/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent
new file mode 100755
index 0000000000..6fa068214e
--- /dev/null
+++ b/recipes/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