diff options
| author | AlexanderCurl <alexc@alexc.hu> | 2026-04-18 17:46:06 +0100 |
|---|---|---|
| committer | AlexanderCurl <alexc@alexc.hu> | 2026-04-18 17:46:06 +0100 |
| commit | 70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 (patch) | |
| tree | ab1123d4067c1b086dd6faa7ee4ea643236b565a /raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/ControlCenter/Components/HeaderPane.qml | |
| parent | 5d94c0a7d44a2255b81815a52a7056a94a39842d (diff) | |
| download | RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.tar.gz RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.zip | |
Replaced file structures for themes in the correct format
Diffstat (limited to 'raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/ControlCenter/Components/HeaderPane.qml')
| -rw-r--r-- | raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/ControlCenter/Components/HeaderPane.qml | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/ControlCenter/Components/HeaderPane.qml b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/ControlCenter/Components/HeaderPane.qml deleted file mode 100644 index d36c5b6..0000000 --- a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modules/ControlCenter/Components/HeaderPane.qml +++ /dev/null @@ -1,118 +0,0 @@ -import QtQuick -import qs.Common -import qs.Services -import qs.Widgets - -Rectangle { - id: root - - LayoutMirroring.enabled: I18n.isRtl - LayoutMirroring.childrenInherit: true - - property bool editMode: false - - signal powerButtonClicked - signal lockRequested - signal editModeToggled - signal settingsButtonClicked - - Component.onCompleted: DgopService.addRef("system") - Component.onDestruction: DgopService.removeRef("system") - - implicitHeight: 70 - radius: Theme.cornerRadius - color: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency) - border.color: Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.08) - border.width: 0 - - Row { - anchors.left: parent.left - anchors.verticalCenter: parent.verticalCenter - anchors.leftMargin: Theme.spacingL - anchors.rightMargin: Theme.spacingL - spacing: Theme.spacingM - - DankCircularImage { - id: avatarContainer - - width: 60 - height: 60 - imageSource: { - if (PortalService.profileImage === "") - return ""; - - if (PortalService.profileImage.startsWith("/")) - return "file://" + PortalService.profileImage; - - return PortalService.profileImage; - } - fallbackIcon: "person" - } - - Column { - anchors.verticalCenter: parent.verticalCenter - spacing: 2 - - Typography { - text: UserInfoService.fullName || UserInfoService.username || I18n.tr("User") - style: Typography.Style.Subtitle - color: Theme.surfaceText - } - - Typography { - text: DgopService.uptime || I18n.tr("Unknown") - style: Typography.Style.Caption - color: Theme.surfaceVariantText - } - } - } - - Row { - id: actionButtonsRow - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - anchors.rightMargin: Theme.spacingXS - spacing: Theme.spacingXS - - DankActionButton { - buttonSize: 36 - iconName: "lock" - iconSize: Theme.iconSize - 4 - iconColor: Theme.surfaceText - backgroundColor: "transparent" - onClicked: { - root.lockRequested(); - } - } - - DankActionButton { - buttonSize: 36 - iconName: "power_settings_new" - iconSize: Theme.iconSize - 4 - iconColor: Theme.surfaceText - backgroundColor: "transparent" - onClicked: root.powerButtonClicked() - } - - DankActionButton { - buttonSize: 36 - iconName: "settings" - iconSize: Theme.iconSize - 4 - iconColor: Theme.surfaceText - backgroundColor: "transparent" - onClicked: { - root.settingsButtonClicked(); - PopoutService.focusOrToggleSettings(); - } - } - - DankActionButton { - buttonSize: 36 - iconName: editMode ? "done" : "edit" - iconSize: Theme.iconSize - 4 - iconColor: editMode ? Theme.primary : Theme.surfaceText - backgroundColor: "transparent" - onClicked: root.editModeToggled() - } - } -} |