Skip to content

Conversation

@kerfuzzle
Copy link
Contributor

@kerfuzzle kerfuzzle commented Jan 7, 2026

Updates configuration for yazi v25.12.29 (this version is already in nixpkgs-unstable).
Fixes #2121.

Directories are now classified as folder/* however this doesn't seem to get checked until the parent directory is navigated into which leaves the directories in columns that haven't been navigated to in the default white formatting. Using the */ url specifier instead of mime types fixes this.


@stylix-automation stylix-automation bot added topic: home-manager Home Manager target topic: modules /modules/ subsystem labels Jan 7, 2026
Copy link
Member

@trueNAHO trueNAHO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to add yourself as a module maintainer because this module is currently unmaintained:

maintainers = [ ];

You can do this as a separate commit or just open a dedicated PR for this, which is probably easier.

roundedIndicator = lib.mkOption {
description = "Whether to use rounded corners font on selection indicator.";
type = lib.types.bool;
default = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When disabling the roundedIndicator option with

diff --git a/modules/yazi/hm.nix b/modules/yazi/hm.nix
index 0911bc7f..a14439e8 100644
--- a/modules/yazi/hm.nix
+++ b/modules/yazi/hm.nix
@@ -11,7 +11,7 @@ mkTarget {
     roundedIndicator = lib.mkOption {
       description = "Whether to use rounded corners font on selection indicator.";
       type = lib.types.bool;
-      default = true;
+      default = false;
     };
   };

the nix run .#testbed:yazi:dark testbed shows the following error:

Terminal response timeout: The request sent by Yazi didn't receive a correct response.
Please check your terminal environment as per: https:yazi-rs.github.io/docs/faq#trt

This error does not occur when the roundedIndicator is enabled.

Copy link
Contributor Author

@kerfuzzle kerfuzzle Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get the error in the testbed regardless of if roundedIndicator is enabled, however, the error goes in both cases when I run yazi in a new terminal.

https://yazi-rs.github.io/docs/faq#trt seems to suggest that this is usually related to tmux, could this be related to how pkgs.makeAutostartItem launches it in the testbed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like launching yazi througn its .desktop entry in the testbed causes the error, will try and investigate further.

Comment on lines 59 to 60
open = "█";
close = "█";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure these are the correct characters? My fonts are unable to render them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied them directly from sxyazi/yazi#3419 (comment). They also render correctly in the testbed.

Moved indicator config into new section.

Added option to toggle new rounded corners on indicator

Updated directory theming rule as folders no longer have mime type inode/directory
@kerfuzzle kerfuzzle mentioned this pull request Jan 9, 2026
6 tasks
merrkry added a commit to merrkry/stylix that referenced this pull request Jan 12, 2026
@kerfuzzle kerfuzzle requested a review from trueNAHO January 12, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: home-manager Home Manager target topic: modules /modules/ subsystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

yazi: theming broken after v25.12.29

2 participants