mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
feat: new app:theme action that hot-reload user themes/flavors (#3906)
This commit is contained in:
parent
369c47539c
commit
4a2e5addcd
107 changed files with 799 additions and 405 deletions
|
|
@ -19,6 +19,7 @@ yazi-emulator = { path = "../yazi-emulator", version = "26.2.2" }
|
|||
yazi-fs = { path = "../yazi-fs", version = "26.2.2" }
|
||||
yazi-macro = { path = "../yazi-macro", version = "26.2.2" }
|
||||
yazi-shared = { path = "../yazi-shared", version = "26.2.2" }
|
||||
yazi-shim = { path = "../yazi-shim", version = "26.2.2" }
|
||||
yazi-vfs = { path = "../yazi-vfs", version = "26.2.2" }
|
||||
|
||||
# External dependencies
|
||||
|
|
|
|||
|
|
@ -18,9 +18,14 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
.semver(true)
|
||||
.build()?,
|
||||
)?
|
||||
.add_instructions(&GitclBuilder::default().commit_date(true).sha(true).build()?)?
|
||||
.emit()?;
|
||||
|
||||
if env::var_os("YAZI_NO_GITCL").is_none() {
|
||||
Emitter::default().add_instructions(&GitclBuilder::default().sha(true).build()?)?.emit()?;
|
||||
} else {
|
||||
println!("cargo:rustc-env=VERGEN_GIT_SHA=no-gitcl");
|
||||
}
|
||||
|
||||
if env::var_os("YAZI_GEN_COMPLETIONS").is_none() {
|
||||
return Ok(());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ yazi_macro::mod_pub!(actions);
|
|||
yazi_macro::mod_flat!(args boot);
|
||||
|
||||
use clap::Parser;
|
||||
use yazi_shared::RoCell;
|
||||
use yazi_shim::cell::RoCell;
|
||||
|
||||
pub static ARGS: RoCell<Args> = RoCell::new();
|
||||
pub static BOOT: RoCell<Boot> = RoCell::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue