screenshot utility

This commit is contained in:
Zacharias-Brohn
2025-11-18 13:47:12 +01:00
parent 77800d1779
commit 5b069bf4c2
19 changed files with 1610 additions and 8 deletions
+6 -4
View File
@@ -104,15 +104,17 @@ Repeater {
Layout.fillHeight: true
Layout.preferredWidth: 30
color: collapseArea.containsMouse ? "#15FFFFFF" : "transparent"
radius: 4
visible: groupColumn.isExpanded
radius: groupColumn.isExpanded ? 4 : Layout.preferredHeight / 2
visible: true
Text {
anchors.centerIn: parent
text: "\ue944"
font.family: "Material Symbols Rounded"
text: groupColumn.isExpanded ? "\ue944" : groupColumn.notifications.length
font.family: groupColumn.isExpanded ? "Material Symbols Rounded" : "Rubik"
font.pointSize: 18
color: "white"
}
MouseArea {
id: collapseArea
anchors.fill: parent
+4
View File
@@ -127,6 +127,10 @@ Item {
duration: MaterialEasing.expressiveEffectsTime
easing.bezierCurve: MaterialEasing.expressiveEffects
}
onFinished: {
if ( !mouseArea.containsMouse )
closeAnim.start();
}
}
ParallelAnimation {
+1 -1
View File
@@ -1,6 +1,6 @@
pragma Singleton
import Caelestia
import ZShell
import Quickshell
import Quickshell.Io
+1 -1
View File
@@ -1,7 +1,7 @@
import Quickshell
import Quickshell.Widgets
import QtQuick
import Caelestia.Models
import ZShell.Models
Item {
id: root