forked from Shinonome/dots-hyprland
25 lines
558 B
QML
25 lines
558 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import org.kde.kirigami as Kirigami
|
|
import qs
|
|
import qs.services
|
|
import qs.modules.common
|
|
import qs.modules.waffle.looks
|
|
|
|
AppButton {
|
|
id: root
|
|
|
|
iconName: "task-view"
|
|
separateLightDark: true
|
|
|
|
checked: GlobalStates.overviewOpen
|
|
onClicked: {
|
|
GlobalStates.overviewOpen = !GlobalStates.overviewOpen;
|
|
}
|
|
|
|
BarToolTip {
|
|
extraVisibleCondition: root.shouldShowTooltip
|
|
text: Translation.tr("Task View") // Should be a preview of workspaces, but we'll have this for now...
|
|
}
|
|
}
|