diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-22 18:13:14 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-22 18:13:14 +1000 |
| commit | ac525a07ea8df6ce5719689ce2b3d39762cc7305 (patch) | |
| tree | a821a6412c7875aafc7d233ea00423e15d9f6d8a /src/utils/system.ts | |
| parent | mediadisplay: fix visualiser symmetry (diff) | |
| download | caelestia-shell-ac525a07ea8df6ce5719689ce2b3d39762cc7305.tar.gz caelestia-shell-ac525a07ea8df6ce5719689ce2b3d39762cc7305.tar.bz2 caelestia-shell-ac525a07ea8df6ce5719689ce2b3d39762cc7305.zip | |
scheme: fix dynamic preview
Also catch read errors
Diffstat (limited to 'src/utils/system.ts')
| -rw-r--r-- | src/utils/system.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/system.ts b/src/utils/system.ts index 360a261..3a9caa6 100644 --- a/src/utils/system.ts +++ b/src/utils/system.ts @@ -103,7 +103,7 @@ export const monitorDirectory = ( } } - // Keep ref to monitor so it doesn't get GCed + // Keep ref to monitor so it doesn't get GC'd monitors.add(monitor); monitor.connect("notify::cancelled", () => monitor.cancelled && monitors.delete(monitor)); |