mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-07 15:59:26 -05:00
26 lines
637 B
QML
26 lines
637 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: (down && !checked) ? "task-view-pressed" : "task-view"
|
|
pressedScale: checked ? 5/6 : 1
|
|
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...
|
|
}
|
|
}
|