Files
illogical-impulse/dots/.config/quickshell/ii/modules/waffle/actionCenter/ActionCenterContext.qml
T
2025-11-21 22:12:37 +01:00

24 lines
398 B
QML

pragma Singleton
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Controls
import Quickshell
Singleton {
id: root
property StackView stackView
function push(component) {
if (stackView) {
stackView.push(component)
}
}
function back() {
if (stackView && stackView.depth > 1) {
stackView.pop()
}
}
}