Keep the StatusNotifierWatcher process alive so Steam and other tray clients survive config updates. Use `qs ipc call shell reload`.
25 lines
442 B
QML
25 lines
442 B
QML
//@ pragma UseQApplication
|
|
import Quickshell
|
|
import Quickshell.Io
|
|
|
|
Scope {
|
|
Bar {}
|
|
Notifications {}
|
|
|
|
IpcHandler {
|
|
target: "launcher"
|
|
function toggle(): void {
|
|
Launcher.toggle();
|
|
}
|
|
function power(): void {
|
|
Launcher.openPower();
|
|
}
|
|
}
|
|
|
|
IpcHandler {
|
|
target: "shell"
|
|
function reload(): void {
|
|
Quickshell.reload(false);
|
|
}
|
|
}
|
|
}
|