I don't really like locking the screen on idle, that's more annoying than useful.

But I would like to auto-lock when I leave my desk. Maybe some sort of proximity sensor to check whether the char is occupied?

@lhp I tried
https://f-droid.org/de/packages/com.jens.automation2/
to, in the end, HTTP some `lock.php` script which triggers `xtrlock` in the end.

Not that easy to maintain the full command structure with all 🔥walls and X11-permissions, but … possible.

Automation | F-Droid – Freies und quelloffenes Android-App-Repository

Automatisieren Sie Dinge auf Ihrem Gerät, indem Sie Regeln anlegen.

@sci_photos that's nice!

unfortunately I usually leave my phone at my desk...

however this may be useful for other things, like unmuting my phone when at home