i3lock-fancy-multimonitor
i3lock-fancy-multimonitor copied to clipboard
Using a lock image greater than 60x60 off-centres it.
Happening on Arch Linux. I tried to change the lock image (by backing up the default one and downloading another as lock.png
). Reduced its size to 128x128 with imagemagick, and at the moment of locking the screen, the image appears offset to the bottom right. Just slightly, but noticeable once you're typing your password. I'll attach a screengrab of this:
EDIT: Forgot to add that I'm currently running herbstluft as my wm instead of i3. Could that be related?
You should try to edit the script, adding this after done
:
echo $WIDTH
echo $HEIGHT
echo $X
echo $Y
echo $POS_X
echo $POS_Y
and see if something seems off there.
Sorry for taking SO long to look into this. But unfortunately, I could not reproduce it. I created a 128x128 circle and used it as my logo.png and apparently, it is centered:
I don't have my second monitor connected right now so I can't check if it makes a difference. I don't know what might be causing this. If you post the output of the commands suggested by @fleutot and your lock.png I can investigate a little further.
Thank you for reporting this! :+1: