Clean up some XDG/UWSM details
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -42,13 +42,13 @@ in
|
|||||||
};
|
};
|
||||||
open = [
|
open = [
|
||||||
{
|
{
|
||||||
run = "xdg-open \"$1\"";
|
run = "uwsm app -- xdg-open \"$1\"";
|
||||||
desc = "Open";
|
desc = "Open";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
reveal = [
|
reveal = [
|
||||||
{
|
{
|
||||||
run = "xdg-open \"$(dirname \"$1\")\"";
|
run = "uwsm app -- xdg-open \"$(dirname \"$1\")\"";
|
||||||
desc = "Reveal";
|
desc = "Reveal";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@@ -60,7 +60,7 @@ in
|
|||||||
];
|
];
|
||||||
play = [
|
play = [
|
||||||
{
|
{
|
||||||
run = "mpv \"$@\"";
|
run = "uwsm app -- mpv \"$@\"";
|
||||||
orphan = true;
|
orphan = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@@ -35,21 +35,17 @@
|
|||||||
"image/pjpeg"
|
"image/pjpeg"
|
||||||
"image/png"
|
"image/png"
|
||||||
"image/tiff"
|
"image/tiff"
|
||||||
|
"image/webp"
|
||||||
"image/x-bmp"
|
"image/x-bmp"
|
||||||
"image/x-gray"
|
"image/x-pcx"
|
||||||
"image/x-icb"
|
|
||||||
"image/x-ico"
|
|
||||||
"image/x-png"
|
"image/x-png"
|
||||||
"image/x-portable-anymap"
|
"image/x-portable-anymap"
|
||||||
"image/x-portable-bitmap"
|
"image/x-portable-bitmap"
|
||||||
"image/x-portable-graymap"
|
"image/x-portable-graymap"
|
||||||
"image/x-portable-pixmap"
|
"image/x-portable-pixmap"
|
||||||
|
"image/x-tga"
|
||||||
"image/x-xbitmap"
|
"image/x-xbitmap"
|
||||||
"image/x-xpixmap"
|
"image/heic"
|
||||||
"image/x-pcx"
|
|
||||||
"image/svg+xml"
|
|
||||||
"image/svg+xml-compressed"
|
|
||||||
"image/vnd.wap.wbmp"
|
|
||||||
] (_: "feh.desktop");
|
] (_: "feh.desktop");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -4,8 +4,5 @@
|
|||||||
}:
|
}:
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.${user}.xdg.portal = {
|
home-manager.users.${user}.xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||||
xdgOpenUsePortal = true;
|
|
||||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user