use imv-dir to open images

This commit is contained in:
Adithya 2024-05-15 23:15:59 +05:30
parent 68d159cbc5
commit cafd19c97e
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@
}; };
opener = { opener = {
open-image = [ 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 = [ edit-text = [
{ run = "${config.programs.neovim.package}/bin/nvim $0"; block = true; } { run = "${config.programs.neovim.package}/bin/nvim $0"; block = true; }

View file

@ -3,7 +3,7 @@
enable = true; enable = true;
package = pkgs.imv.overrideAttrs (new: old: { package = pkgs.imv.overrideAttrs (new: old: {
postInstall = old.postInstall + '' postInstall = old.postInstall + ''
rm $out/share/applications/imv-dir.desktop rm $out/share/applications/imv.desktop
''; '';
}); });
settings = { settings = {