ported some quickshell stuff from rivendell-hyprdots

This commit is contained in:
Tomas Rivera
2026-03-10 16:22:35 +01:00
parent 4b442dd121
commit b9e3f35abe
80 changed files with 4462 additions and 9 deletions
+40
View File
@@ -0,0 +1,40 @@
pragma Singleton
pragma ComponentBehavior: Bound
import QtQuick
import Quickshell
import Quickshell.Io
import "." as Launcher
Singleton {
id: root
property bool isOpen: false
property var lastUsedTimes: ({})
IpcHandler {
target: "launcher"
function open() {
root.isOpen = true;
}
function close() {
root.isOpen = false;
}
function toggle() {
root.isOpen = !root.isOpen;
}
}
LazyLoader {
active: root.isOpen
Launcher.Overlay {
controller: root
}
}
// Empty function to define first reference to singleton
function init() {
}
}