Update clamshell.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
if cat /proc/acpi/button/lid/LID/state | grep -q open; then
|
||||
if cat /proc/acpi/button/lid/*/state | grep -q open; then
|
||||
swaymsg output <eDP-1> enable
|
||||
else
|
||||
swaymsg output <eDP-1> disable
|
||||
|
||||
Reference in New Issue
Block a user