mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Initial commit
This commit is contained in:
29
Gulpfile.js
Normal file
29
Gulpfile.js
Normal file
@@ -0,0 +1,29 @@
|
||||
var gulp = require('gulp');
|
||||
var sass = require('gulp-sass');
|
||||
var exec = require('gulp-exec');
|
||||
|
||||
gulp.task('styles', function(done) {
|
||||
gulp.src('gtk-3.0/**/*.scss')
|
||||
.pipe(sass().on('error', sass.logError))
|
||||
.pipe(gulp.dest('./gtk-3.0/'))
|
||||
.pipe(exec(' gsettings set org.gnome.desktop.interface gtk-theme "Aqua"'))
|
||||
done();
|
||||
});
|
||||
|
||||
gulp.task('shell-style', function(done) {
|
||||
gulp.src('gnome-shell/*.scss')
|
||||
.pipe(sass().on('error', sass.logError))
|
||||
.pipe(gulp.dest('./gnome-shell/'))
|
||||
.pipe(exec('gsettings set org.gnome.shell.extensions.user-theme name "Aqua"'))
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
//Watch task
|
||||
gulp.task('default',function() {
|
||||
gulp.watch('gtk-3.0/**/*.scss', gulp.series('styles'));
|
||||
});
|
||||
|
||||
gulp.task('shell',function() {
|
||||
gulp.watch('gnome-shell/*.scss', gulp.series('shell-style'));
|
||||
});
|
||||
Reference in New Issue
Block a user