aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/overview-bak/common/widgets
diff options
context:
space:
mode:
authorDon Williams <Don.e.williams@gmail.com>2026-07-04 17:28:36 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:39:35 -0700
commite974676da74ca270b289f789ae055e3a9b4012fe (patch)
treee43881adb8d2ab15b85d009e7ad85999d6f61416 /config/quickshell/overview-bak/common/widgets
parent2f4b617fbb4214e50ae0bc44fd4acb5385731c75 (diff)
Updated quickshell overview to current version
Signed-off-by: Don Williams <Don.e.williams@gmail.com> On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md new file: config/quickshell/overview-bak/README.md new file: config/quickshell/overview-bak/assets/image.png new file: config/quickshell/overview-bak/common/Appearance.qml new file: config/quickshell/overview-bak/common/Config.qml new file: config/quickshell/overview-bak/common/functions/ColorUtils.qml new file: config/quickshell/overview-bak/common/functions/qmldir new file: config/quickshell/overview-bak/common/qmldir new file: config/quickshell/overview-bak/common/widgets/StyledRectangularShadow.qml new file: config/quickshell/overview-bak/common/widgets/StyledText.qml new file: config/quickshell/overview-bak/common/widgets/StyledToolTip.qml new file: config/quickshell/overview-bak/common/widgets/StyledToolTipContent.qml new file: config/quickshell/overview-bak/common/widgets/qmldir new file: config/quickshell/overview-bak/modules/overview/Overview.qml new file: config/quickshell/overview-bak/modules/overview/OverviewWidget.qml new file: config/quickshell/overview-bak/modules/overview/OverviewWindow.qml new file: config/quickshell/overview-bak/modules/overview/qmldir new file: config/quickshell/overview-bak/services/GlobalStates.qml new file: config/quickshell/overview-bak/services/HyprlandData.qml new file: config/quickshell/overview-bak/services/qmldir new file: config/quickshell/overview-bak/shell.qml new file: config/quickshell/overview/.github/FUNDING.yml modified: config/quickshell/overview/README.md new file: config/quickshell/overview/assets/Workspace_Wallpaper.png modified: config/quickshell/overview/assets/image.png modified: config/quickshell/overview/common/Appearance.qml modified: config/quickshell/overview/common/Config.qml new file: config/quickshell/overview/config.example.json modified: config/quickshell/overview/modules/overview/Overview.qml modified: config/quickshell/overview/modules/overview/OverviewWidget.qml modified: config/quickshell/overview/modules/overview/OverviewWindow.qml new file: config/quickshell/overview/quickshell-overview.qml modified: config/quickshell/overview/services/HyprlandData.qml modified: config/quickshell/overview/shell.qml
Diffstat (limited to 'config/quickshell/overview-bak/common/widgets')
-rw-r--r--config/quickshell/overview-bak/common/widgets/StyledRectangularShadow.qml14
-rw-r--r--config/quickshell/overview-bak/common/widgets/StyledText.qml16
-rw-r--r--config/quickshell/overview-bak/common/widgets/StyledToolTip.qml23
-rw-r--r--config/quickshell/overview-bak/common/widgets/StyledToolTipContent.qml49
-rw-r--r--config/quickshell/overview-bak/common/widgets/qmldir4
5 files changed, 106 insertions, 0 deletions
diff --git a/config/quickshell/overview-bak/common/widgets/StyledRectangularShadow.qml b/config/quickshell/overview-bak/common/widgets/StyledRectangularShadow.qml
new file mode 100644
index 00000000..ccdff1ac
--- /dev/null
+++ b/config/quickshell/overview-bak/common/widgets/StyledRectangularShadow.qml
@@ -0,0 +1,14 @@
+import QtQuick
+import QtQuick.Effects
+import ".."
+
+RectangularShadow {
+ required property var target
+ anchors.fill: target
+ radius: 20
+ blur: 0.9 * Appearance.sizes.elevationMargin
+ offset: Qt.vector2d(0.0, 1.0)
+ spread: 1
+ color: Appearance.colors.colShadow
+ cached: true
+}
diff --git a/config/quickshell/overview-bak/common/widgets/StyledText.qml b/config/quickshell/overview-bak/common/widgets/StyledText.qml
new file mode 100644
index 00000000..abfcefae
--- /dev/null
+++ b/config/quickshell/overview-bak/common/widgets/StyledText.qml
@@ -0,0 +1,16 @@
+import QtQuick
+import ".."
+
+Text {
+ id: root
+ property bool animateChange: false
+
+ renderType: Text.NativeRendering
+ verticalAlignment: Text.AlignVCenter
+ font {
+ hintingPreference: Font.PreferFullHinting
+ family: Appearance?.font.family.main ?? "sans-serif"
+ pixelSize: Appearance?.font.pixelSize.small ?? 15
+ }
+ color: Appearance?.m3colors.m3onBackground ?? "white"
+}
diff --git a/config/quickshell/overview-bak/common/widgets/StyledToolTip.qml b/config/quickshell/overview-bak/common/widgets/StyledToolTip.qml
new file mode 100644
index 00000000..4d4678c8
--- /dev/null
+++ b/config/quickshell/overview-bak/common/widgets/StyledToolTip.qml
@@ -0,0 +1,23 @@
+import QtQuick
+import QtQuick.Controls
+import "."
+
+ToolTip {
+ id: root
+ property bool extraVisibleCondition: true
+ property bool alternativeVisibleCondition: false
+ readonly property bool internalVisibleCondition: (extraVisibleCondition && (parent.hovered === undefined || parent?.hovered)) || alternativeVisibleCondition
+ verticalPadding: 5
+ horizontalPadding: 10
+ background: null
+
+ visible: internalVisibleCondition
+
+ contentItem: StyledToolTipContent {
+ id: contentItem
+ text: root.text
+ shown: root.internalVisibleCondition
+ horizontalPadding: root.horizontalPadding
+ verticalPadding: root.verticalPadding
+ }
+}
diff --git a/config/quickshell/overview-bak/common/widgets/StyledToolTipContent.qml b/config/quickshell/overview-bak/common/widgets/StyledToolTipContent.qml
new file mode 100644
index 00000000..b8c29c1a
--- /dev/null
+++ b/config/quickshell/overview-bak/common/widgets/StyledToolTipContent.qml
@@ -0,0 +1,49 @@
+import QtQuick
+import "."
+import "../"
+
+Item {
+ id: root
+ required property string text
+ property bool shown: false
+ property real horizontalPadding: 10
+ property real verticalPadding: 5
+ implicitWidth: tooltipTextObject.implicitWidth + 2 * root.horizontalPadding
+ implicitHeight: tooltipTextObject.implicitHeight + 2 * root.verticalPadding
+
+ property bool isVisible: backgroundRectangle.implicitHeight > 0
+
+ Rectangle {
+ id: backgroundRectangle
+ anchors {
+ bottom: root.bottom
+ horizontalCenter: root.horizontalCenter
+ }
+ color: Appearance?.colors.colTooltip ?? "#3C4043"
+ radius: Appearance?.rounding.verysmall ?? 7
+ opacity: shown ? 1 : 0
+ implicitWidth: shown ? (tooltipTextObject.implicitWidth + 2 * root.horizontalPadding) : 0
+ implicitHeight: shown ? (tooltipTextObject.implicitHeight + 2 * root.verticalPadding) : 0
+ clip: true
+
+ Behavior on implicitWidth {
+ animation: Appearance?.animation.elementMoveFast.numberAnimation.createObject(this)
+ }
+ Behavior on implicitHeight {
+ animation: Appearance?.animation.elementMoveFast.numberAnimation.createObject(this)
+ }
+ Behavior on opacity {
+ animation: Appearance?.animation.elementMoveFast.numberAnimation.createObject(this)
+ }
+
+ StyledText {
+ id: tooltipTextObject
+ anchors.centerIn: parent
+ text: root.text
+ font.pixelSize: Appearance?.font.pixelSize.smaller ?? 14
+ font.hintingPreference: Font.PreferNoHinting
+ color: Appearance?.colors.colOnTooltip ?? "#FFFFFF"
+ wrapMode: Text.Wrap
+ }
+ }
+}
diff --git a/config/quickshell/overview-bak/common/widgets/qmldir b/config/quickshell/overview-bak/common/widgets/qmldir
new file mode 100644
index 00000000..0efe1360
--- /dev/null
+++ b/config/quickshell/overview-bak/common/widgets/qmldir
@@ -0,0 +1,4 @@
+StyledText 1.0 StyledText.qml
+StyledRectangularShadow 1.0 StyledRectangularShadow.qml
+StyledToolTip 1.0 StyledToolTip.qml
+StyledToolTipContent 1.0 StyledToolTipContent.qml
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage