Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Allow opening images/links/etc dynamically instead of something hard-coded #259

Closed
avahe-kellenberger opened this issue Mar 4, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@avahe-kellenberger
Copy link
Collaborator

What do you want

I want to be able to open images, links, etc. in a dynamic fashion that I can modify in my configuration.

Why

Currently, feh is hard coded as the image viewer. It would be nice to have a user-configurable option for images and links so it would work on all systems and could fit the specific preferences of each user.

Implementation hints

Have an editable command in the config file that substitutes %s with the image/url.

E.g. (default, but modifiable)

{
    "image": "feh %s",
    "url": "xdg-open %s"
}

Cordless would invoke the command substituting all instances of %s

@avahe-kellenberger avahe-kellenberger added the enhancement New feature or request label Mar 4, 2020
@roket1428
Copy link
Contributor

Would be very nice.

@NilsIrl
Copy link

NilsIrl commented Jul 21, 2020

I think you may be able to change the image viewer with the ImageViewer, setting in your config file.

@Bios-Marcel
Copy link
Owner

This has been added

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants