greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.82k stars 472 forks source link

amd_gpu: select device automatically #1928

Closed MaxVerevkin closed 11 months ago

MaxVerevkin commented 11 months ago

Default card was apparently renamed from card0 to card1 (kernel 6.4.8-arch1-1).

Instead of defaulting to card0 we can read_dir and select the first directory starting with "card".