i3lock-fancy-multimonitor icon indicating copy to clipboard operation
i3lock-fancy-multimonitor copied to clipboard

Using a lock image greater than 60x60 off-centres it.

Open ldelelis opened this issue 7 years ago • 2 comments

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:

2017-09-28-221822_3286x1232_scrot

EDIT: Forgot to add that I'm currently running herbstluft as my wm instead of i3. Could that be related?

ldelelis avatar Sep 29 '17 01:09 ldelelis

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.

fleutot avatar Nov 29 '17 17:11 fleutot

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:

test

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:

guimeira avatar Dec 12 '17 02:12 guimeira