usable
This commit is contained in:
@@ -1,36 +1,37 @@
|
||||
import Quickshell // for PanelWindow
|
||||
import QtQuick // for Text
|
||||
import QtQuick.Shapes
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell.Io
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
|
||||
WrapperMouseArea {
|
||||
ClippingWrapperRectangle {
|
||||
radius: 3
|
||||
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
|
||||
VFlyoutUp {
|
||||
id: midFO
|
||||
|
||||
required property list<string> hyprcmds
|
||||
|
||||
visible: false
|
||||
|
||||
item: content
|
||||
|
||||
onExited: visible = false
|
||||
|
||||
ClippingRectangle {
|
||||
id: content
|
||||
radius: root.radius
|
||||
implicitWidth: 700
|
||||
implicitHeight: 450
|
||||
|
||||
color: Pywal.colors.color1
|
||||
|
||||
Wallpaper {
|
||||
implicitWidth: 700
|
||||
//implicitHeight: 350
|
||||
hyprcmds: midFO.hyprcmds
|
||||
}
|
||||
}
|
||||
|
||||
hoverEnabled: true
|
||||
|
||||
Process {
|
||||
id: launcher
|
||||
running: false
|
||||
command: ["rofi", "-show", "drun", "-show-icons" ]
|
||||
}
|
||||
|
||||
onClicked: launcher.running = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user