diff options
Diffstat (limited to 'quickshell/items/Radio.qml')
| -rw-r--r-- | quickshell/items/Radio.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/quickshell/items/Radio.qml b/quickshell/items/Radio.qml new file mode 100644 index 0000000..b3ee8e6 --- /dev/null +++ b/quickshell/items/Radio.qml @@ -0,0 +1,28 @@ +import QtQuick +import QtQuick.Layouts + +RowLayout { + spacing: 0 + Text { + text: " Radio:" + color: shellRoot.white + font { + family: shellRoot.fontFamily + pixelSize: shellRoot.fontSize + } + } + Text { + text: wifiName + color: wifiName == "Offline" ? shellRoot.red : shellRoot.green + font { + family: shellRoot.fontFamily + pixelSize: shellRoot.fontSize + bold: true + } + + MouseArea { + anchors.fill: parent + onClicked: networkManagerProc.running = true + } + } +} |
