blob: 22ab2c18a6dd7c7b457670651861c6c10b5c2251 [file] [log] [blame]
Skyler Grey5b960582022-05-24 16:36:47 +01001#!/bin/sh
2read lcd < /tmp/lcd
3
4if [ "$lcd" -eq "0" ]; then
5 swaymsg "output * dpms on"
6 echo 1 > /tmp/lcd
7else
8 swaymsg "output * dpms off"
9 echo 0 > /tmp/lcd
10fi