fix: Show context for graphics only if switchable graphics found

This commit is contained in:
Michael Aaron Murphy 2022-03-04 12:00:54 +01:00 committed by Michael Murphy
parent 21f699e483
commit eb6028f8fc
4 changed files with 81 additions and 16 deletions

17
Cargo.lock generated
View file

@ -1184,6 +1184,12 @@ dependencies = [
"libc",
]
[[package]]
name = "numtoa"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6aa2c4e539b869820a2b82e1aef6ff40aa85e65decdd5185e83fb4b1249cd00f"
[[package]]
name = "objc"
version = "0.2.7"
@ -1398,6 +1404,7 @@ dependencies = [
name = "pop-launcher-plugins"
version = "1.1.0"
dependencies = [
"anyhow",
"async-pidfd",
"fork",
"freedesktop-desktop-entry",
@ -1416,6 +1423,7 @@ dependencies = [
"slab",
"smol",
"strsim",
"sysfs-class",
"tracing",
"tracing-subscriber",
"url",
@ -1846,6 +1854,15 @@ dependencies = [
"unicode-xid",
]
[[package]]
name = "sysfs-class"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e1bbcf869732c45a77898f7f61ed6d411dfc37613517e444842f58d428856d1"
dependencies = [
"numtoa",
]
[[package]]
name = "system-deps"
version = "6.0.2"