diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-17 16:48:45 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-17 16:48:45 +0000 |
commit | bbc0b40035415d458d84c9fd7f30f4684f1f8db2 (patch) | |
tree | be5cbf0aace556fc95c922a39f09607660542bf8 /packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent | |
parent | 7942015fb093ed42dfcd9fc7229651b03852b7eb (diff) |
xcursor-watchonly-theme: Elaborate.
* Add missing patch and add Xsession.d script for automatic activation
of no mouse is present (if mouse is present, transparent cursor theme should
not be used, and cursor should be left as is, as other interaction using mouse
won't be possible).
Diffstat (limited to 'packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent')
-rwxr-xr-x | packages/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent | 7 |
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 |