treewide/xdg: portal fix
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
660572882d
commit
909ddb64ec
2 changed files with 15 additions and 11 deletions
|
|
@ -7,13 +7,7 @@
|
||||||
common = {
|
common = {
|
||||||
default = [
|
default = [
|
||||||
"gtk"
|
"gtk"
|
||||||
];
|
"wlr"
|
||||||
};
|
|
||||||
|
|
||||||
hyprland = {
|
|
||||||
preferred = [
|
|
||||||
"gtk"
|
|
||||||
"hyprland"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -28,7 +22,6 @@
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,27 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
xdg = {
|
xdg = {
|
||||||
portal = {
|
portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
|
||||||
config = {
|
config = {
|
||||||
common = {
|
common = {
|
||||||
default = [
|
default = [
|
||||||
"hyprland"
|
|
||||||
"gtk"
|
"gtk"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hyprland = {
|
||||||
|
preferred = [
|
||||||
|
"gtk"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue