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 = [
|
||||
{
|
||||
run = "xdg-open \"$1\"";
|
||||
run = "uwsm app -- xdg-open \"$1\"";
|
||||
desc = "Open";
|
||||
}
|
||||
];
|
||||
reveal = [
|
||||
{
|
||||
run = "xdg-open \"$(dirname \"$1\")\"";
|
||||
run = "uwsm app -- xdg-open \"$(dirname \"$1\")\"";
|
||||
desc = "Reveal";
|
||||
}
|
||||
];
|
||||
@@ -60,7 +60,7 @@ in
|
||||
];
|
||||
play = [
|
||||
{
|
||||
run = "mpv \"$@\"";
|
||||
run = "uwsm app -- mpv \"$@\"";
|
||||
orphan = true;
|
||||
}
|
||||
];
|
||||
|
@@ -35,21 +35,17 @@
|
||||
"image/pjpeg"
|
||||
"image/png"
|
||||
"image/tiff"
|
||||
"image/webp"
|
||||
"image/x-bmp"
|
||||
"image/x-gray"
|
||||
"image/x-icb"
|
||||
"image/x-ico"
|
||||
"image/x-pcx"
|
||||
"image/x-png"
|
||||
"image/x-portable-anymap"
|
||||
"image/x-portable-bitmap"
|
||||
"image/x-portable-graymap"
|
||||
"image/x-portable-pixmap"
|
||||
"image/x-tga"
|
||||
"image/x-xbitmap"
|
||||
"image/x-xpixmap"
|
||||
"image/x-pcx"
|
||||
"image/svg+xml"
|
||||
"image/svg+xml-compressed"
|
||||
"image/vnd.wap.wbmp"
|
||||
"image/heic"
|
||||
] (_: "feh.desktop");
|
||||
};
|
||||
}
|
||||
|
@@ -4,8 +4,5 @@
|
||||
}:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home-manager.users.${user}.xdg.portal = {
|
||||
xdgOpenUsePortal = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||
};
|
||||
home-manager.users.${user}.xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||
}
|
||||
|
Reference in New Issue
Block a user