First commit
This commit is contained in:
36
config/aurora/modules/Launcher.qml
Normal file
36
config/aurora/modules/Launcher.qml
Normal file
@@ -0,0 +1,36 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user