Files
illogical-impulse/dots/.config/quickshell/ii/modules/ii/cheatsheet/CheatsheetKeybinds.qml
T
2026-05-14 09:37:45 +02:00

38 lines
994 B
QML

pragma ComponentBehavior: Bound
import qs.services
import qs.modules.common
import qs.modules.common.functions
import qs.modules.common.widgets
import QtQuick
import QtQuick.Layouts
import Quickshell
Item {
id: root
property real padding: 4
implicitWidth: QsWindow?.window?.screen.width * 0.7 ?? 0
implicitHeight: QsWindow?.window?.screen.height * 0.7 ?? 0
StyledFlickable {
id: flickable
anchors.fill: parent
anchors.margins: Appearance.rounding.small
contentHeight: height
contentWidth: flow.implicitWidth
Flow {
id: flow
height: flickable.height
flow: Flow.TopToBottom
spacing: 12
Repeater {
model: [...HyprlandKeybinds.keybindCategories, ""]
delegate: CheatsheetKeybindsCategory {
required property var modelData
categoryName: modelData
}
}
}
}
}