kitowall 6.2.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/core/live.js +15 -1
  2. package/package.json +1 -1
package/dist/core/live.js CHANGED
@@ -1864,6 +1864,7 @@ async function liveApply(opts) {
1864
1864
  '--video', item.file_path
1865
1865
  ];
1866
1866
  let coexistEntered = false;
1867
+ let snapshotId;
1867
1868
  try {
1868
1869
  await (0, exec_1.run)(bin, setVideoArgs, { timeoutMs: 120000 });
1869
1870
  // Keep live authority persistent across session restarts.
@@ -1886,8 +1887,21 @@ async function liveApply(opts) {
1886
1887
  await waitForRendercoreServiceActive();
1887
1888
  }
1888
1889
  // Switch wallpaper authority only after rendercore is confirmed active.
1889
- await (0, workshop_1.workshopCoexistenceEnter)();
1890
+ const coexist = await (0, workshop_1.workshopCoexistenceEnter)();
1890
1891
  coexistEntered = true;
1892
+ snapshotId = coexist.snapshot_id;
1893
+ (0, workshop_1.workshopSetActive)({
1894
+ mode: 'livewallpaper',
1895
+ started_at: Date.now(),
1896
+ snapshot_id: snapshotId,
1897
+ instances: {
1898
+ [monitor]: {
1899
+ id: item.id,
1900
+ backend: 'rendercore',
1901
+ type: 'video'
1902
+ }
1903
+ }
1904
+ });
1891
1905
  withLiveLock(() => {
1892
1906
  const current = readIndex();
1893
1907
  const updatedItems = current.items.map(v => (v.id === item.id ? { ...v, last_applied_at: nowUnix() } : v));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitowall",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "CLI/daemon for Hyprland wallpapers using swww with pack-based rotation.",
5
5
  "repository": {
6
6
  "type": "git",