diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-11-25 18:57:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-25 18:57:40 +0900 |
| commit | 823ce273e69e716be814473430d0cfa5cb714b7d (patch) | |
| tree | 70878cbe3027d9da452658a8644e33d83c1b3ea2 /config/hypr/scripts/LidSwitch.sh | |
| parent | fbf04572b4ed8867da3c96551b25261401364be0 (diff) | |
| parent | 19f025c2dc27da54127ae302482398be61b55ebe (diff) | |
Merge pull request #34 from JaKooLit/v2.1.9
V2.1.9
Diffstat (limited to 'config/hypr/scripts/LidSwitch.sh')
| -rwxr-xr-x | config/hypr/scripts/LidSwitch.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/config/hypr/scripts/LidSwitch.sh b/config/hypr/scripts/LidSwitch.sh deleted file mode 100755 index 76bce1f2..00000000 --- a/config/hypr/scripts/LidSwitch.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -if grep open /proc/acpi/button/lid/LID/state; then - hyprctl keyword monitor "eDP-1, preferred, auto, 1" -else - if [[ `hyprctl monitors | grep "Monitor" | wc -l` != 1 ]]; then - hyprctl keyword monitor "eDP-1, disable" - fi -fi
\ No newline at end of file |
