display-off

turn off/on a display (one in multihead setup or all in the system)

View the Project on GitHub almaceleste/display-off

about

this script turns off/on a display of the individual monitor or of the all monitors in the system

license

license

download

display-off.sh

usage:

display-off.sh [option]

options:

    --all      turn off/on the displays of the all monitors  
    --help     show help and exit  
    --version  show version info and exit  
    <output>   turn off/on the display of the individual monitor, connected to the <output>

you could get the <output> by xrandr --query command.
usually it looks like smth as HDMI-0 or DP-1

support me

Ko-fi