account for different lid switches?
This commit is contained in:
parent
474265291b
commit
2781b1da6e
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
source $HOME/.config/sway/displays.sh
|
||||
if grep -q open /proc/acpi/button/lid/LID/state;
|
||||
if grep -q open /proc/acpi/button/lid/LID*/state;
|
||||
then
|
||||
swaymsg output $LAPTOP enable
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue