monitor scripts
This commit is contained in:
Executable
+12
@@ -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
|
||||||
Reference in New Issue
Block a user