Skip to content

Instantly share code, notes, and snippets.

@JonasAlfredsson
Created August 14, 2019 18:10
Show Gist options
  • Save JonasAlfredsson/d6d37f491ff4bf55eb1d35cd87c1005b to your computer and use it in GitHub Desktop.
Save JonasAlfredsson/d6d37f491ff4bf55eb1d35cd87c1005b to your computer and use it in GitHub Desktop.
Small script used for shutting off the computer screen.
#!/bin/bash
# The short sleep is needed so that the release of the keys
# do not trigger a wakeup event.
sleep 1; xset dpms force off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment