fix xdg-portals

This commit is contained in:
Chris Cochrun 2025-08-20 15:09:53 -05:00
parent e24bdb9e73
commit 2c5adddb45
3 changed files with 6 additions and 4 deletions

View file

@ -47,13 +47,15 @@ in {
common = {
default = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
"org.freedesktop.impl.portal.OpenUri" = [ "kde" ];
};
hyprland = {
default = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
"org.freedesktop.impl.portal.OpenUri" = [ "kde" ];
};
};
extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde pkgs.xdg-desktop-portal-gtk ];
xdgOpenUsePortal = true;
};
mimeApps = {

View file

@ -85,15 +85,14 @@ in
settings = rec {
initial_session = {
command = "uwsm start hyprland-uwsm.desktop";
# command = "dbus-run-session startplasma-wayland";
user = "chris";
};
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --window-padding 2 --cmd 'uwsm start hyprland-uwsm.desktop' -s /etc/greetd/environments";
user = "greeter";
};
plasma_session = {
command = "dbus-run-session startplasma-wayland";
cosmic_session = {
command = "start-cosmic";
user = "chris";
};
hyprland_session = {

View file

@ -24,6 +24,7 @@
pdfmixtool
localsend
harper
xdg-utils
# kdePackages.kio-fuse
# kdePackages.kio-extras
# kdePackages.qtsvg