mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2026-09-19 10:19:02 +05:30
feat(gpu): add cardwire integration and gpu widget
This commit is contained in:
12
services/GPU.qml
Normal file
12
services/GPU.qml
Normal file
@@ -0,0 +1,12 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import Tshell.Cardwire
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property bool connected: Cardwire.connected
|
||||
readonly property CardwireGpu gpu: Cardwire.nvidiaGpu
|
||||
readonly property url icon: `${Quickshell.shellPath("assets")}/icons/nvidia.svg`
|
||||
}
|
||||
Reference in New Issue
Block a user