monitor scripts
This commit is contained in:
1 parent
2b78a4310d
commit
6ad6ae357b
1 file changed
+12
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