File: choose.sh

package info (click to toggle)
crystalcursors 1.1.1-14
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 3,680 kB
  • sloc: makefile: 632; sh: 232
file content (9 lines) | stat: -rwxr-xr-x 516 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#!/bin/sh
version=`kdialog --combobox "Which version of CrystalCursors you want to use?"  blue blue_classic blue_noanim gray gray_noanim green green_classic green_noanim white white_noanim`

case $version in
 blue|blue_classic|blue_noanim|gray|gray_noanim|green|green_classic|green_noanim|white|white_noanim)
 echo "[Icon Theme]" > ~/.icons/default/index.theme
 echo "Inherits = crystal$version" >> ~/.icons/default/index.theme
kdialog --msgbox "Cursors changed: only the new started apps would be affected.";;
esac