mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +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:
|
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
|
#!/usr/bin/bash
|
||||||
if grep -q open /proc/acpi/button/lid/LID/state; then
|
if grep -q open /proc/acpi/button/lid/LID/state; then
|
||||||
swaymsg output <LAPTOP> enable
|
swaymsg output <LAPTOP> enable
|
||||||
|
|
Loading…
Reference in a new issue