summaryrefslogtreecommitdiff
path: root/recipes/xcursor-transparent-theme/xcursor-watchonly-theme/20xcursor-transparent
blob: 6fa068214e58ee90474f069a62db10c785bb1a9d (plain)
1
2
3
4
5
6
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