fix(ags-v3): audit fixes — portable brain path, reactive volume, SCSS dedup
- brain.ts: BRAIN_ROOT résolu via $BRAIN_ROOT env / ~/.config/brain-path / fallback ~/Dev/Brain - Volume.tsx: bindings volume + mute séparés et réactifs - style.scss: importe _bar.scss et _heartbeat.scss via @use, supprime 199 lignes dupliquées
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import GLib from "gi://GLib"
|
||||
|
||||
const BRAIN_ROOT = "/home/tetardtek/Dev/Cortex-Template"
|
||||
const BRAIN_ROOT = GLib.getenv("BRAIN_ROOT")
|
||||
|| readFile(GLib.get_home_dir() + "/.config/brain-path")?.trim()
|
||||
|| GLib.get_home_dir() + "/Dev/Brain"
|
||||
|
||||
export interface BrainState {
|
||||
focus: string
|
||||
|
||||
Reference in New Issue
Block a user