fix term file chooser
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{ pkgs, ... }@all: with all; let
|
{ pkgs, ... }@all: with all; let
|
||||||
tfc = pkgs.latest.xdg-desktop-portal-termfilechooser;
|
tfc = pkgs.xdg-desktop-portal-termfilechooser;
|
||||||
in {
|
in {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.unar
|
pkgs.unar
|
||||||
@@ -420,7 +420,14 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
config.common."org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
|
config.common."org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
|
||||||
extraPortals = [ tfc ];
|
extraPortals = [ tfc ] ++ (with pkgs; [
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
xdg-desktop-portal-wlr
|
||||||
|
]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.sessionVariables."GTK_USE_PORTAL" = "1";
|
home.sessionVariables."GTK_USE_PORTAL" = "1";
|
||||||
|
|||||||
Reference in New Issue
Block a user