kitowall 3.3.0 → 3.5.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.
package/dist/cli.js CHANGED
@@ -1503,6 +1503,7 @@ async function main() {
1503
1503
  const pack = cleanOpt(getOptionValue(args, '--pack'));
1504
1504
  const namespace = cleanOpt(getOptionValue(args, '--namespace')) ?? 'kitowall';
1505
1505
  const force = cmd === 'rotate-now' || args.includes('--force');
1506
+ const forceStatic = args.includes('--force-static');
1506
1507
  if (state.mode === 'manual' && !force) {
1507
1508
  console.log(JSON.stringify({
1508
1509
  ok: true,
@@ -1513,6 +1514,20 @@ async function main() {
1513
1514
  }, null, 2));
1514
1515
  return;
1515
1516
  }
1517
+ // If live mode currently owns wallpaper state, skip static rotation unless explicitly forced.
1518
+ if (!forceStatic) {
1519
+ const coexist = await (0, workshop_1.workshopCoexistenceStatus)().catch(() => ({ ok: true, snapshot: [], current: {} }));
1520
+ if (Array.isArray(coexist.snapshot) && coexist.snapshot.length > 0) {
1521
+ console.log(JSON.stringify({
1522
+ ok: true,
1523
+ skipped: true,
1524
+ reason: 'livewallpaper_active',
1525
+ hint: 'Use: kitowall next --force-static (or rotate-now --force-static) to switch back to static mode',
1526
+ namespace
1527
+ }, null, 2));
1528
+ return;
1529
+ }
1530
+ }
1516
1531
  await switchToStaticWallpaperMode();
1517
1532
  const result = await controller.applyNext(pack, namespace);
1518
1533
  console.log(JSON.stringify({
@@ -131,6 +131,7 @@ function getCoexistServices() {
131
131
  const defaults = [
132
132
  'swww-daemon.service',
133
133
  'swww-daemon@kitowall.service',
134
+ 'kitowall-login-apply.service',
134
135
  'kitowall-watch.service',
135
136
  'kitowall-next.service',
136
137
  'kitowall-next.timer',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitowall",
3
- "version": "3.3.0",
3
+ "version": "3.5.0",
4
4
  "description": "CLI/daemon for Hyprland wallpapers using swww with pack-based rotation.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "commonjs",