Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Use more lightweight sassc instead of sass (if possible)

parent 054a5444
......@@ -10,12 +10,21 @@ create_folders () {
build_sass() {
if command -v sassc &>/dev/null
sassc "$1" "$2"
sass --cache-location /tmp/sass-cache "$1" "$2"
render_theme () {
python $1
create_folders $2
sass --cache-location /tmp/sass-cache gtk316/gtk.scss $2/gtk-3.0/gtk.css
sass --cache-location /tmp/sass-cache gtk318/gtk.scss $2/gtk-3.18/gtk.css
sass --cache-location /tmp/sass-cache gtk320/gtk.scss $2/gtk-3.20/gtk.css
build_sass gtk316/gtk.scss $2/gtk-3.0/gtk.css
build_sass gtk318/gtk.scss $2/gtk-3.18/gtk.css
build_sass gtk320/gtk.scss $2/gtk-3.20/gtk.css
mv assets $2/
cp -R gtk2/* $2/gtk-2.0/
if [ -d $HOME/.local/share/themes/$2 ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment