Fix link opening in Flatpak apps
This commit is contained in:
parent
69d5ac43f5
commit
3e1b573df8
3 changed files with 14 additions and 1 deletions
|
|
@ -25,9 +25,16 @@ lib.mkIf (config.jalr.gui.enable && config.jalr.gui.desktop == "sway") {
|
|||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
xdgOpenUsePortal = true;
|
||||
};
|
||||
icons.enable = true;
|
||||
};
|
||||
|
||||
programs.wshowkeys.enable = true;
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
adwaita-icon-theme
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,13 @@ in
|
|||
enable = true;
|
||||
defaultApplications = {
|
||||
"application/pdf" = "org.gnome.Evince.desktop";
|
||||
|
||||
"image/svg+xml" = "org.inkscape.Inkscape.desktop";
|
||||
|
||||
"x-scheme-handler/http" = "firefox-esr.desktop";
|
||||
"x-scheme-handler/https" = "firefox-esr.desktop";
|
||||
|
||||
"x-scheme-handler/mailto" = "thunderbird.desktop";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ in
|
|||
export XDG_SESSION_TYPE="wayland" # otherwise set to tty
|
||||
set -e __HM_SESS_VARS_SOURCED
|
||||
set -e __NIXOS_SET_ENVIRONMENT_DONE
|
||||
exec systemd-cat -t sway sway
|
||||
exec systemd-cat -t sway dbus-run-session sway
|
||||
end
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue