aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/LidSwitch.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-24 01:29:06 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-24 01:29:06 +0900
commitab573dec63693a438da1e93d951750bcfb4e037d (patch)
tree674b615442a6d639477096a8b714fc0d8bc6b703 /config/hypr/scripts/LidSwitch.sh
parente6b5ab06123c41a47611b610ef2bb42694c23600 (diff)
clean up wallpaper Script
Diffstat (limited to 'config/hypr/scripts/LidSwitch.sh')
-rwxr-xr-xconfig/hypr/scripts/LidSwitch.sh9
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage