Updated Home (markdown)

Simon Ser 2024-06-11 08:47:21 +02:00
parent 638519a2c2
commit f91992467b

@ -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: