See Aerial shots as screensaver
- Python
- Rust
pip install opencv-python tk pynput playsound pathlib pyautogui
git clone https://github.com/glowfi/screenlocker
cd screenlocker
cargo build --release
Afer Building with rust binary will be stored at :
target/release/screenlocker
-
After Building run the screenlocker alteast once to save your password. Then you can make a custom script to automatically run this binary after some minutes of inactivity.
- For example in Linux you can use xautolock like below :
xautolock -time 10 -locker ~/.local/bin/screenlocker &
-
After 10 minutes of inactivity this screenlocker will be invoked.