yazi: filechooser

This commit is contained in:
2026-05-31 19:52:51 +03:00
parent 5b2fbe0db4
commit 2ffedb7835
5 changed files with 141 additions and 9 deletions
+11 -1
View File
@@ -1,4 +1,14 @@
{
{ lib, ... }: {
# Keep qtct/Kvantum for styling, but tell qtct to delegate standard file
# dialogs to xdg-desktop-portal. This is what makes AyuGram/Telegram-like Qt
# apps use the Yazi picker instead of Qt's built-in dialog.
stylix.targets.qt.standardDialogs = "xdgdesktopportal";
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = lib.mkForce "xdgdesktopportal";
TDESKTOP_USE_GTK_FILE_DIALOG = "1";
};
qt = {
enable = true;
platformTheme.name = "qtct";