Files
Aurora/config/aurora/modules/Launcher.qml
2026-03-06 08:06:15 -06:00

37 lines
813 B
QML

import Quickshell // for PanelWindow
import QtQuick // for Text
import QtQuick.Controls
import Quickshell.Io
import Quickshell.Widgets
WrapperMouseArea {
ClippingWrapperRectangle {
radius: 5
implicitWidth: 30; implicitHeight: 30
Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.fill: parent
text: " "
font.pointSize: 16
color: Pywal.special.foreground
}
color: {
containsMouse
? Pywal.colors.color12
: Pywal.colors.color1
}
}
hoverEnabled: true
Process {
id: launcher
running: false
command: ["rofi", "-show", "drun"]
}
onClicked: launcher.running = true
}