use imv-dir to open images
This commit is contained in:
parent
68d159cbc5
commit
cafd19c97e
2 changed files with 2 additions and 2 deletions
|
@ -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; }
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue