Separate transparent bar foreground from panel text

This commit is contained in:
David Heinemeier Hansson committed 2026-05-27 14:23:13 +02:00
1 parent e490f743db
commit d6fa701543
9 files changed
+21 -16

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
import QtQuick
import Quickshell.Io
import qs.Commons
// Base item for plugin popup widgets. Many first-party plugins expose a bar
// button plus a popup from one QML entry point; this base owns the shared
@@ -18,6 +19,7 @@ Item {
property bool popoutSwitchClosing: false
readonly property bool opened: panelController.open
readonly property color barForeground: bar ? bar.barForeground : Color.foreground
function open() { panelController.show() }
function close() { panelController.hide() }