mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(1771): start clipboard watchers at shell boot instead of first launcher open
This commit is contained in:
@@ -30,6 +30,7 @@ import qs.Modules.Panels.Settings
|
||||
import qs.Modules.Toast
|
||||
import qs.Services.Control
|
||||
import qs.Services.Hardware
|
||||
import qs.Services.Keyboard
|
||||
import qs.Services.Location
|
||||
import qs.Services.Networking
|
||||
import qs.Services.Noctalia
|
||||
@@ -115,6 +116,12 @@ ShellRoot {
|
||||
SupporterService.init();
|
||||
CustomButtonIPCService.init();
|
||||
IPCService.init(screenDetector);
|
||||
|
||||
// Force ClipboardService initialization so clipboard watchers
|
||||
// start immediately instead of waiting for first launcher open
|
||||
if (Settings.data.appLauncher.enableClipboardHistory) {
|
||||
ClipboardService.checkCliphistAvailability();
|
||||
}
|
||||
});
|
||||
|
||||
delayedInitTimer.running = true;
|
||||
|
||||
Reference in New Issue
Block a user