Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more cursor theme inconsistency in applications running as spot #3124

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions woof-code/rootfs-skeleton/usr/sbin/pcur
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ Options
I=$[$I+1]
done
done
if [ "$THEME" ]; then
func_switch "$THEME" &
exit
fi
#---
# link cursor themes in /usr/share/icons to $HOME
while read -r ITHEME; do
Expand All @@ -86,6 +82,11 @@ while read -r ITHEME; do
[ -e "/home/spot/.icons/$XTHEME" ] || ln -sv "$ETHEME" /home/spot/.icons
done <<<$(find /usr/share/icons/ -maxdepth 2 -type d -name 'cursors')

if [ "$THEME" ]; then
func_switch "$THEME" &
exit
fi

for ONEITEM in `ls -1 $HOME/.icons | grep -Ev 'ROX|^default$'`; do
#precaution that 'cursors' subdir exists...
[ ! -d $HOME/.icons/${ONEITEM}/cursors ] && continue
Expand Down