Lock screen i3lock

I changed the screenlockscript.sh s content with this:

#!/bin/bash

while true; do
	xss-lock -- mbscreenlocker
  # Sleep for 1 second
  sleep 1
done     

And the lid.sh s content with this:

#!/bin/bash

while true; do
	xss-lock -- mbscreenlocker
  # Sleep for 1 second
  sleep 1
done     

It was just a attempt, but its working too. After I undo the changes and tried you method. :slight_smile:

1 Like