annotate gtk-3.20/parse-sass.sh @ 78:d71147e95c97

Make Nautilus path bar changes only apply to new bar This allows us to keep the same CSS for GTK 3.20+ and at least Gnome 3.22+
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Oct 2018 16:36:18 +0100
parents f284ed6bd5d5
children 43583045e41f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
1 #! /bin/bash
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
2
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
3 if [ ! "$(which sassc 2> /dev/null)" ]; then
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
4 echo sassc needs to be installed to generate the css.
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
5 exit 1
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
6 fi
24
1b8713fff1e1 Add initial GTK3.20 support ready for upgrade to openSUSE Leap 42.2
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7
64
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
8 SASSC_OPT="-M -t compact"
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
9
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
10 echo Generating the css...
b85e4f7ff7c8 Upgrade to GTK 3.22.25 changes
IBBoard <dev@ibboard.co.uk>
parents: 24
diff changeset
11
66
f284ed6bd5d5 Fix parse-sass script so that it updates *our* CSS
IBBoard <dev@ibboard.co.uk>
parents: 64
diff changeset
12 #sassc $SASSC_OPT gtk-contained.scss gtk-contained.css
f284ed6bd5d5 Fix parse-sass script so that it updates *our* CSS
IBBoard <dev@ibboard.co.uk>
parents: 64
diff changeset
13 #sassc $SASSC_OPT gtk-contained-dark.scss gtk-contained-dark.css
f284ed6bd5d5 Fix parse-sass script so that it updates *our* CSS
IBBoard <dev@ibboard.co.uk>
parents: 64
diff changeset
14 sassc $SASSC_OPT gtk.scss gtk.css