diff --git a/.scripts/monitor b/.scripts/monitor new file mode 100755 index 0000000..1b63975 --- /dev/null +++ b/.scripts/monitor @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ $1 -eq 1 ] +then + hyprctl dispatch dpms on "HDMI-A-1" + hyprctl dispatch dpms off "DP-2" + hyprctl dispatch dpms off "DP-3" +else + hyprctl dispatch dpms off "HDMI-A-1" + hyprctl dispatch dpms on "DP-2" + hyprctl dispatch dpms on "DP-3" +fi