Update clamshell.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/bash
|
#!/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
|
swaymsg output <eDP-1> enable
|
||||||
else
|
else
|
||||||
swaymsg output <eDP-1> disable
|
swaymsg output <eDP-1> disable
|
||||||
|
|||||||
Reference in New Issue
Block a user