bring back reload popup

This commit is contained in:
end-4
2025-11-22 19:43:52 +01:00
parent 9cf66f4d83
commit f0a042246c
4 changed files with 9 additions and 24 deletions
+5 -2
View File
@@ -1,7 +1,8 @@
import QtQuick
import QtQuick.Layouts
import Quickshell
import Qt5Compat.GraphicalEffects
import Quickshell
import Quickshell.Wayland
Scope {
id: root
@@ -41,6 +42,8 @@ Scope {
implicitWidth: rect.width + shadow.radius * 2
implicitHeight: rect.height + shadow.radius * 2
WlrLayershell.namespace: "quickshell:reloadPopup"
// color blending is a bit odd as detailed in the type reference.
color: "transparent"
@@ -78,7 +81,7 @@ Scope {
Text {
renderType: Text.NativeRendering
font.family: "Rubik"
font.family: "Google Sans Flex"
font.pointSize: 14
text: root.failed ? "Quickshell: Reload failed" : "Quickshell reloaded"
color: failed ? "#ff93000A" : "#ff0C1F13"