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 = { common = {
default = [ "hyprland" ]; default = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ]; "org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
"org.freedesktop.impl.portal.OpenUri" = [ "kde" ];
}; };
hyprland = { hyprland = {
default = [ "hyprland" ]; default = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ]; "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; xdgOpenUsePortal = true;
}; };
mimeApps = { mimeApps = {

View file

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

View file

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