From 82880c0e2f18fbe3afacd3da3a0a378f49deb2f4 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sat, 23 Nov 2024 19:52:48 +0100 Subject: [PATCH] nixos/{core-desktop; xdg-default-apps}: add qimgv and set as default for images --- nix-os/core-desktop.nix | 1 + nix-os/xdg-default-apps.nix | 92 ++++++++++++++++++------------------- 2 files changed, 47 insertions(+), 46 deletions(-) diff --git a/nix-os/core-desktop.nix b/nix-os/core-desktop.nix index 617b79a..1089f0a 100644 --- a/nix-os/core-desktop.nix +++ b/nix-os/core-desktop.nix @@ -23,6 +23,7 @@ environment.systemPackages = with pkgs; [ kdePackages.kdeconnect-kde pcmanfm + qimgv ]; programs.mpv = let diff --git a/nix-os/xdg-default-apps.nix b/nix-os/xdg-default-apps.nix index 7412f27..5033d02 100644 --- a/nix-os/xdg-default-apps.nix +++ b/nix-os/xdg-default-apps.nix @@ -87,51 +87,51 @@ "video/x-sgi-movie" = "mpv.desktop"; # Image - "image/bmp" = "org.gnome.Loupe.desktop"; - "image/cmu-raster" = "org.gnome.Loupe.desktop"; - "image/fif" = "org.gnome.Loupe.desktop"; - "image/florian" = "org.gnome.Loupe.desktop"; - "image/g3fax" = "org.gnome.Loupe.desktop"; - "image/gif" = "org.gnome.Loupe.desktop"; - "image/ief" = "org.gnome.Loupe.desktop"; - "image/jpeg" = "org.gnome.Loupe.desktop"; - "image/jutvision" = "org.gnome.Loupe.desktop"; - "image/naplps" = "org.gnome.Loupe.desktop"; - "image/pict" = "org.gnome.Loupe.desktop"; - "image/pjpeg" = "org.gnome.Loupe.desktop"; - "image/png" = "org.gnome.Loupe.desktop"; - "image/tiff" = "org.gnome.Loupe.desktop"; - "image/vasa" = "org.gnome.Loupe.desktop"; - "image/vnd.dwg" = "org.gnome.Loupe.desktop"; - "image/vnd.fpx" = "org.gnome.Loupe.desktop"; - "image/vnd.net-fpx" = "org.gnome.Loupe.desktop"; - "image/vnd.rn-realflash" = "org.gnome.Loupe.desktop"; - "image/vnd.rn-realpix" = "org.gnome.Loupe.desktop"; - "image/vnd.wap.wbmp" = "org.gnome.Loupe.desktop"; - "image/vnd.xiff" = "org.gnome.Loupe.desktop"; - "image/x-cmu-raster" = "org.gnome.Loupe.desktop"; - "image/x-dwg" = "org.gnome.Loupe.desktop"; - "image/x-icon" = "org.gnome.Loupe.desktop"; - "image/x-jg" = "org.gnome.Loupe.desktop"; - "image/x-jps" = "org.gnome.Loupe.desktop"; - "image/x-niff" = "org.gnome.Loupe.desktop"; - "image/x-pcx" = "org.gnome.Loupe.desktop"; - "image/x-pict" = "org.gnome.Loupe.desktop"; - "image/x-portable-anymap" = "org.gnome.Loupe.desktop"; - "image/x-portable-bitmap" = "org.gnome.Loupe.desktop"; - "image/x-portable-graymap" = "org.gnome.Loupe.desktop"; - "image/x-portable-greymap" = "org.gnome.Loupe.desktop"; - "image/x-portable-pixmap" = "org.gnome.Loupe.desktop"; - "image/x-quicktime" = "org.gnome.Loupe.desktop"; - "image/x-rgb" = "org.gnome.Loupe.desktop"; - "image/x-tiff" = "org.gnome.Loupe.desktop"; - "image/x-windows-bmp" = "org.gnome.Loupe.desktop"; - "image/x-xbitmap" = "org.gnome.Loupe.desktop"; - "image/x-xbm" = "org.gnome.Loupe.desktop"; - "image/x-xpixmap" = "org.gnome.Loupe.desktop"; - "image/x-xwd" = "org.gnome.Loupe.desktop"; - "image/x-xwindowdump" = "org.gnome.Loupe.desktop"; - "image/xbm" = "org.gnome.Loupe.desktop"; - "image/xpm" = "org.gnome.Loupe.desktop"; + "image/bmp" = "qimgv.desktop"; + "image/cmu-raster" = "qimgv.desktop"; + "image/fif" = "qimgv.desktop"; + "image/florian" = "qimgv.desktop"; + "image/g3fax" = "qimgv.desktop"; + "image/gif" = "qimgv.desktop"; + "image/ief" = "qimgv.desktop"; + "image/jpeg" = "qimgv.desktop"; + "image/jutvision" = "qimgv.desktop"; + "image/naplps" = "qimgv.desktop"; + "image/pict" = "qimgv.desktop"; + "image/pjpeg" = "qimgv.desktop"; + "image/png" = "qimgv.desktop"; + "image/tiff" = "qimgv.desktop"; + "image/vasa" = "qimgv.desktop"; + "image/vnd.dwg" = "qimgv.desktop"; + "image/vnd.fpx" = "qimgv.desktop"; + "image/vnd.net-fpx" = "qimgv.desktop"; + "image/vnd.rn-realflash" = "qimgv.desktop"; + "image/vnd.rn-realpix" = "qimgv.desktop"; + "image/vnd.wap.wbmp" = "qimgv.desktop"; + "image/vnd.xiff" = "qimgv.desktop"; + "image/x-cmu-raster" = "qimgv.desktop"; + "image/x-dwg" = "qimgv.desktop"; + "image/x-icon" = "qimgv.desktop"; + "image/x-jg" = "qimgv.desktop"; + "image/x-jps" = "qimgv.desktop"; + "image/x-niff" = "qimgv.desktop"; + "image/x-pcx" = "qimgv.desktop"; + "image/x-pict" = "qimgv.desktop"; + "image/x-portable-anymap" = "qimgv.desktop"; + "image/x-portable-bitmap" = "qimgv.desktop"; + "image/x-portable-graymap" = "qimgv.desktop"; + "image/x-portable-greymap" = "qimgv.desktop"; + "image/x-portable-pixmap" = "qimgv.desktop"; + "image/x-quicktime" = "qimgv.desktop"; + "image/x-rgb" = "qimgv.desktop"; + "image/x-tiff" = "qimgv.desktop"; + "image/x-windows-bmp" = "qimgv.desktop"; + "image/x-xbitmap" = "qimgv.desktop"; + "image/x-xbm" = "qimgv.desktop"; + "image/x-xpixmap" = "qimgv.desktop"; + "image/x-xwd" = "qimgv.desktop"; + "image/x-xwindowdump" = "qimgv.desktop"; + "image/xbm" = "qimgv.desktop"; + "image/xpm" = "qimgv.desktop"; }; }