From cafd19c97eb584ba8c9ca283813f5174e57d4473 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Wed, 15 May 2024 23:15:59 +0530 Subject: [PATCH] use imv-dir to open images --- home/programs/files.nix | 2 +- home/programs/imv.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/programs/files.nix b/home/programs/files.nix index 11fd1e8..bdb1447 100644 --- a/home/programs/files.nix +++ b/home/programs/files.nix @@ -20,7 +20,7 @@ }; opener = { open-image = [ - { run = "${config.programs.imv.package}/bin/imv $0"; orphan = true; } + { run = "${config.programs.imv.package}/bin/imv-dir $0"; orphan = true; } ]; edit-text = [ { run = "${config.programs.neovim.package}/bin/nvim $0"; block = true; } diff --git a/home/programs/imv.nix b/home/programs/imv.nix index 3e1ae8b..0696147 100644 --- a/home/programs/imv.nix +++ b/home/programs/imv.nix @@ -3,7 +3,7 @@ enable = true; package = pkgs.imv.overrideAttrs (new: old: { postInstall = old.postInstall + '' - rm $out/share/applications/imv-dir.desktop + rm $out/share/applications/imv.desktop ''; }); settings = {