You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to write a script that allows me to browse a directory of images, and when on exit (pressing q) the current image is
written to a file last_page.txt, and then exit. So when running the script again it read the file last_page.txt and pass it to swayimg that way it starts up at the last page/image.
There is a problem handling the exit action. This action has high priority and terminates the program before any other actions are performed. I don't know how to fix it without breaking everything else, sorry =)
Hi, I want to write a script that allows me to browse a directory of images, and when on exit (pressing
q
) the current image iswritten to a file
last_page.txt
, and then exit. So when running the script again it read the filelast_page.txt
and pass it toswayimg
that way it starts up at the last page/image.The issue is, when pressing
q
, thecurrent_file
is not written tolast_page.txt
and it just exitsI have commented out the
q
keybind in the config file for both theviewer
andgallery
.The text was updated successfully, but these errors were encountered: