artemsen / swayimg

Image viewer for Wayland
MIT License
367 stars 30 forks source link

Feature: deleting images #181

Closed o0nd7ots closed 2 months ago

o0nd7ots commented 2 months ago

I would like to use swayimg as my image viewer but it does not allow for deleting images.

Is this possible to implement?

artemsen commented 2 months ago

Just press Shift+Delete.

o0nd7ots commented 2 months ago

that bind does not seem to work and I cannot custom ones:

$ cat config 
[keys.viewer]
F2 = help

and when running it

$swayimg 
Invalid section "keys.viewer"
Invalid configuration in /home/user/.config/swayimg/config:2

@artemsen do you know why this might be happening?

artemsen commented 2 months ago

It seems you have old version of swayimg. You can find settings example for your version in /usr/share/swayimg/swayimgrc. But I would recommend to update =)

o0nd7ots commented 2 months ago

You were right, updating helped. Thanks!