feat: add theme - catppuccin-yazi

This commit is contained in:
Ryan Yin
2023-12-28 00:23:11 +08:00
parent 19d6cdf416
commit 2cdb0afe48
2 changed files with 7 additions and 5 deletions

7
flake.lock generated
View File

@@ -773,11 +773,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1703077061, "lastModified": 1703694125,
"narHash": "sha256-6jmjEXJe9mXLiGj/KpuyWp3AIxIh7uM/bIwmm9BHKEU=", "narHash": "sha256-7gdwhPcMpaHZzjg9Cw6FKTm2k4OotSJcwAQ9iwYfnCE=",
"owner": "ryan4yin", "owner": "ryan4yin",
"repo": "nur-packages", "repo": "nur-packages",
"rev": "ad8927476f57f35db0e18ef0d80a4e6589582e0c", "rev": "630c1a26ffa11ed2bfd9407bcf03e3238a2e83cc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -786,7 +786,6 @@
"type": "github" "type": "github"
} }
}, },
"polybar-themes": { "polybar-themes": {
"flake": false, "flake": false,
"locked": { "locked": {

View File

@@ -1,10 +1,13 @@
{pkgs-unstable, ...}: { {pkgs-unstable, nur-ryan4yin, ...}: {
# terminal file manager # terminal file manager
programs.yazi = { programs.yazi = {
enable = true; enable = true;
package = pkgs-unstable.yazi; package = pkgs-unstable.yazi;
# Changing working directory when exiting Yazi
enableBashIntegration = true; enableBashIntegration = true;
# TODO: nushellIntegration is broken on release-23.11, wait for master's fix to be released # TODO: nushellIntegration is broken on release-23.11, wait for master's fix to be released
enableNushellIntegration = false; enableNushellIntegration = false;
}; };
xgd.configFile."yazi/theme.toml".source = "${nur-ryan4yin.cattppuccin-yazi}/mocha.toml";
} }