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: The main dependencies to try it are as follows:
- **bun** to transpile TS to JS - **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 - **[coloryou](https://git.nelim.org/matt1432/nixos-configs/src/branch/master/common/pkgs/coloryou)** for media player colors
- **playerctl** for media player functionality - **playerctl** for media player functionality

View file

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

View file

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

View file

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