mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
Updated Home (markdown)
parent
638519a2c2
commit
f91992467b
4
Home.md
4
Home.md
|
@ -658,6 +658,9 @@ WLR_DRM_DEVICES=/dev/dri/card1 sway
|
|||
|
||||
It's likely that you want sway to use the integrated (Intel) card, because probably that's the only one directly connected to the laptop monitor. However, the mapping between node names in `/dev/dri/` and actual cards isn't guaranteed to be the same across reboots.
|
||||
|
||||
<!--
|
||||
TODO: this script is broken, passes the value of the boolean "boot_vga" attr and interprets it as a card number.
|
||||
|
||||
This script detects which is the device path of the integrated card and launches sway accordingly:
|
||||
|
||||
```sh
|
||||
|
@ -665,6 +668,7 @@ This script detects which is the device path of the integrated card and launches
|
|||
val=$(udevadm info -a -n /dev/dri/card1 | grep boot_vga | rev | cut -c 2)
|
||||
WLR_DRM_DEVICES="/dev/dri/card$val" sway
|
||||
```
|
||||
-->
|
||||
|
||||
You can also configure multiple graphics cards like so:
|
||||
|
||||
|
|
Loading…
Reference in a new issue