feat: hide the launcher by default and add an IpcHandler to show it
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import "nix"
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Wayland
|
||||
|
||||
import QtQuick
|
||||
@@ -14,6 +15,8 @@ import QtQuick.Layouts
|
||||
PanelWindow {
|
||||
id: win
|
||||
|
||||
visible: false
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
bottom: true
|
||||
@@ -231,4 +234,12 @@ PanelWindow {
|
||||
appList.clear();
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "launcher"
|
||||
|
||||
function search(): void {
|
||||
win.visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user