mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
26 lines
584 B
QML
26 lines
584 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import qs.services
|
|
import qs.modules.common
|
|
import qs.modules.waffle.looks
|
|
import Quickshell
|
|
|
|
AppButton {
|
|
id: root
|
|
|
|
required property var appEntry
|
|
readonly property bool isSeparator: appEntry.appId === "SEPARATOR"
|
|
readonly property var desktopEntry: DesktopEntries.heuristicLookup(appEntry.appId)
|
|
|
|
signal hoverPreviewRequested()
|
|
|
|
iconName: AppSearch.guessIcon(appEntry.appId)
|
|
Timer {
|
|
running: root.hovered
|
|
interval: 250
|
|
onTriggered: {
|
|
root.hoverPreviewRequested()
|
|
}
|
|
}
|
|
}
|