~itaton


#4 'center' not working with -c 3 years ago

Comment by ~itaton on ~exec64/imv

Additional info: I'm running imv on sway/wayland

#4 'center' not working with -c 3 years ago

Ticket created by ~itaton on ~exec64/imv

If I run imv like imv -c center image.png the image is not centered as expected. It appears the center command is executed before the window is initialized and still operates on the 'width' and 'height' defined in the config rather than the actual window dimensions.

Related (would be another possible solution for me):
Is there an option to automatically recenter the image after each change in actual window size? I couldn't find anything in man(1/5) imv