RedditPP Mascot

RedditPP

r/swaywm • … • u/gronk_the_great

Swaylock spawning 3 times (3 successful password attempts to open)

Edit: Solved through reboot

Whilst setting up my new laptop (Lenovo T14 G5) with Fedora Workstation + Sway, I have come upon two difficulties. First, when launching swaylock (from terminal or swayidle), 3 successful attempts are needed to login. What I think is the case is that swaylock for some reason is spawned 3 times, requiring me to unlock every instance to get back into Sway. Second, I have no Idea how to add fingerprint authentication using fprintd (fingerprints already enrolled) to swaylock. If dumps and logs are needed I am happy to add them. I have already perused the internet a bit, albeit sadly without much success. Swayidle config:

exec swayidle -w \ timeout 300 'swaylock --daemonize -f -c 000000 -l -i "/home/[user]/Pictures/wallpapers/post-apocalyptic-wallpaper-dark-1920x1080.jpg"' \ timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ before-sleep 'swaylock -f --daemonize -c 000000 -l -i "/home/[user]/Pictures/wallpapers/post-apocalyptic-wallpaper-dark-1920x1080.jpg"'

— 0