add scripts and config

This commit is contained in:
2023-07-12 17:02:27 +07:00
parent 520fb7cd75
commit 4b1d0cd562
12 changed files with 365 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
MONON(){
hyprctl keyword monitor DP-2,2560x1440@165,0x0,1
}
MONOFF(){
hyprctl keyword monitor DP-2,disable
}
MONTEMP=$(hyprctl monitors | grep "(ID 1)")
if [[ $MONTEMP = "Monitor DP-2 (ID 1):" ]]; then
MONOFF
else
MONON
fi
exit 0