mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
Syntax highlighting
parent
bd1bfe582f
commit
824a4cdc3a
2
Home.md
2
Home.md
|
@ -90,7 +90,7 @@ bindswitch --reload --locked lid:off output $laptop enable
|
|||
|
||||
However, when reloading sway while using clamshell mode, the displays may reset (i.e. both displays will be enabled). To stop this, save this bash script:
|
||||
|
||||
```
|
||||
```bash
|
||||
#!/usr/bin/bash
|
||||
if grep -q open /proc/acpi/button/lid/LID/state; then
|
||||
swaymsg output <LAPTOP> enable
|
||||
|
|
Loading…
Reference in a new issue