-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yazi: add testbed, resolve 0.4.0 breaking changes, and improve names (#…
…719) Add a testbed and resolve the 0.4.0 breaking changes [2] [3] [4]. Migrate the highlight colors to mnemonics with the following script to improve readability and simplify the process of reusing upstream templates [4]: colors_base=( "base08" "base09" "base0A" "base0B" "base0C" "base0D" "base0E" "base0F" ) colors_name=( "red" "orange" "yellow" "green" "cyan" "blue" "magenta" "brown" ) for i in "${!colors_base[@]}"; do sed \ --in-place \ "s/${colors_base[i]}/${colors_name[i]}/g" \ modules/yazi/hm.nix done [1]: sxyazi/yazi#1772 [2]: sxyazi/yazi#1927 [3]: sxyazi/yazi#1953 [4]: https://github.com/yazi-rs/flavors/blob/main/scripts/catppuccin/template.toml Closes: #604 Closes: #683 Link: #719 Reviewed-by: NAHO <[email protected]>
- Loading branch information
Showing
2 changed files
with
74 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ pkgs, ... }: | ||
|
||
let | ||
package = pkgs.yazi; | ||
in | ||
|
||
{ | ||
stylix.testbed.application = { | ||
enable = true; | ||
name = "yazi"; | ||
inherit package; | ||
}; | ||
|
||
home-manager.sharedModules = [ | ||
{ | ||
programs.yazi = { | ||
enable = true; | ||
inherit package; | ||
}; | ||
|
||
home.packages = [ | ||
pkgs.nerd-fonts.fira-mono | ||
]; | ||
} | ||
]; | ||
} |