Fix waybar startup latency problem

This commit is contained in:
Andrea Ciceri 2024-09-25 14:18:52 +02:00
parent 27fdc7a92e
commit d97229fa11
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
3 changed files with 13 additions and 9 deletions

View file

@ -3,15 +3,18 @@
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
configPackages = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
];
config.common.default = "*";
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
];
xdgOpenUsePortal = true;
wlr.enable = true;
};
};
environment.sessionVariables = {
GTK_USE_PORTAL = "1";
};
}