threaded for performance

This commit is contained in:
Zacharias-Brohn
2025-11-10 19:14:02 +01:00
parent 8e6cca78cb
commit 80ac9081d1
3 changed files with 4 additions and 7 deletions
+3 -1
View File
@@ -1,3 +1,4 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
@@ -18,10 +19,11 @@ Scope {
required property var modelData
property bool trayMenuVisible: false
screen: modelData
property var root: Quickshell.shellDir
Process {
id: ncProcess
command: ["sh", "-c", "qs -p ./shell.qml ipc call root showCenter"]
command: ["sh", "-c", `qs -p ${bar.root}/shell.qml ipc call root showCenter`]
running: false
}
-6
View File
@@ -24,11 +24,6 @@ Scope {
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
HyprlandFocusGrab {
id: focusGrab
windows: [ searchInput ]
}
onVisibleChanged: {
if ( !visible ) {
searchInput.text = "";
@@ -54,7 +49,6 @@ Scope {
openAnim.start();
}
}
focusGrab.active = true;
searchInput.forceActiveFocus();
}
}
+1
View File
@@ -1,4 +1,5 @@
//@ pragma UseQApplication
//@ pragma Env QSG_RENDER_LOOP=threaded
import Quickshell
import qs.Modules