collect edns under config/

This commit is contained in:
🪞👃🪞 2025-04-27 17:54:02 +03:00
parent efd182f302
commit a2f27dac90
30 changed files with 19 additions and 19 deletions

View file

@ -1,6 +0,0 @@
(bsp/a :modal
(bsp/s (fixed/y 1 :transport)
(bsp/n (fixed/y 1 :status)
(fill/xy (bsp/a
(fill/xy (align/e :pool))
:arranger)))))

View file

@ -1,7 +0,0 @@
(bsp/a :modal
(bsp/s (fixed/y 1 :transport)
(bsp/n (fixed/y 1 :status)
(bsp/n (fixed/y 5 :sample-viewer)
(bsp/w (fixed/x :w-sidebar :pool)
(bsp/e :samples-keys
(fill/y :editor)))))))

View file

@ -1,4 +0,0 @@
(bsp/a :modal
(bsp/s (fixed/y 1 :transport)
(bsp/n (fixed/y 1 :status)
(fill/xy :samples-grid))))

View file

@ -1,6 +0,0 @@
(bsp/a :modal
(bsp/s (fixed/y 1 :transport)
(bsp/n (fixed/y 1 :status)
(fill/xy (bsp/a
(fill/xy (align/e :pool))
:editor)))))

View file

@ -1 +0,0 @@
:transport

View file

@ -106,11 +106,11 @@ impl Cli {
color: ItemTheme::random(),
clock: Clock::new(jack, self.bpm)?,
view: SourceIter(match mode {
LaunchMode::Clock => include_str!("./edn/transport.edn"),
LaunchMode::Sequencer => include_str!("./edn/sequencer.edn"),
LaunchMode::Groovebox => include_str!("./edn/groovebox.edn"),
LaunchMode::Arranger { .. } => include_str!("./edn/arranger.edn"),
LaunchMode::Sampler => include_str!("./edn/sampler.edn"),
LaunchMode::Clock => include_str!("../../config/transport.edn"),
LaunchMode::Sequencer => include_str!("../../config/sequencer.edn"),
LaunchMode::Groovebox => include_str!("../../config/groovebox.edn"),
LaunchMode::Arranger { .. } => include_str!("../../config/arranger.edn"),
LaunchMode::Sampler => include_str!("../../config/sampler.edn"),
_ => todo!("{mode:?}"),
}),
pool: match mode {