diff options
Diffstat (limited to 'components/SimpleResource.qml')
| -rw-r--r-- | components/SimpleResource.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/components/SimpleResource.qml b/components/SimpleResource.qml new file mode 100644 index 0000000..786e37b --- /dev/null +++ b/components/SimpleResource.qml @@ -0,0 +1,26 @@ +import QtQuick +import Quickshell +import QtQuick.Layouts +import qs.config as Config +import qs.components + +RowLayout { + id: root + required property string text + required property string icon + Item { + Layout.fillWidth: true + } + anchors.fill: parent + spacing: Config.Bar.resourceIconTextSpacing + + Icons { + text: root.icon + } + Text { + text: root.text + } + Item { + Layout.fillWidth: true + } +} |
