Source

small_scripts / lock_and_turn_off_monitor.sh

1
2
3
4
5
#!/bin/sh

xscreensaver-command -lock

xset dpms force off