Launcher no opacity & open via IPC
This commit is contained in:
parent
21e9db956d
commit
c14e5fcac2
@ -3,13 +3,13 @@ import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls
|
||||
import Quickshell.Wayland
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Io
|
||||
import "root:/singeltons"
|
||||
|
||||
PanelWindow {
|
||||
id: root
|
||||
|
||||
property bool show: true
|
||||
property bool show: false
|
||||
|
||||
implicitWidth: 600
|
||||
implicitHeight: 400
|
||||
@ -20,14 +20,18 @@ PanelWindow {
|
||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
||||
WlrLayershell.layer: WlrLayer.Top
|
||||
|
||||
HyprlandWindow.opacity: 0.9
|
||||
IpcHandler {
|
||||
target: "launcher"
|
||||
|
||||
function open(): void {root.show = true; }
|
||||
}
|
||||
|
||||
// Main window
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
anchors.centerIn: parent
|
||||
|
||||
color: Qt.hsla(0, 0, 1, 0.5)
|
||||
color: "#363a4f"
|
||||
border.color: Qt.hsla(0, 0, 1, 0.2)
|
||||
border.width: 2
|
||||
radius: 12
|
||||
|
Loading…
x
Reference in New Issue
Block a user