swaywm/swayidle

sway idle doesn't lock screen after sometimes

sachinchaudhary1808 opened this issue · 0 comments

so idk what is happening i'm on the version 1.8.0 and sometimes swayidle doesn't trigger sway lock

idk how to check for logs, but some info that might help

  • my config
exec swayidle -w \
         timeout 300 'swaylock -f -c 000000 -i $lock_bg' \
         timeout 390 'systemctl suspend' before-sleep 'swaylock -f -c 000000 -i $lock_bg && sleep 1.5'
  • i do suspend my laptop manually with swaylock & systemctl suspend command

  • i do close the lid of my laptop which suspends my laptop