refactor(ags): move from sassc to dart-sass
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-06 15:44:25 -05:00
parent 5e265ae184
commit 8a55c6506d
4 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ as your `config.js` after copying the contents of `./config` to
The main dependencies to try it are as follows:
- **bun** to transpile TS to JS
- **sassc** to compile SCSS to CSS
- **dart-sass** to compile SCSS to CSS
- **[coloryou](https://git.nelim.org/matt1432/nixos-configs/src/branch/master/common/pkgs/coloryou)** for media player colors
- **playerctl** for media player functionality

View file

@ -7,7 +7,7 @@ const watchAndCompileSass = (host) => {
const scss = `${App.configDir}/scss/${host}.scss`;
const css = `/tmp/ags-${host}/style.css`;
execAsync(`sassc ${scss} ${css}`).then(() => {
execAsync(`sass ${scss} ${css}`).then(() => {
App.resetCss();
App.applyCss(css);
}).catch(print);

View file

@ -63,7 +63,7 @@ in {
[config.customPkgs.coloryou]
++ (with pkgs; [
# ags
sassc
dart-sass
bun
playerctl

View file

@ -26,7 +26,7 @@ in {
packages = [
hyprland
pkgs.bun
pkgs.sassc
pkgs.dart-sass
pkgs.swww
pkgs.gtk3
pkgs.glib