From 01540ca9d24112e8b587c35150e2c9b7bbfdbdec Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:53:42 +1100 Subject: Pass home and cache through bundler --- services/players.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'services/players.ts') diff --git a/services/players.ts b/services/players.ts index 3313595..b81d4b5 100644 --- a/services/players.ts +++ b/services/players.ts @@ -1,6 +1,5 @@ import { GLib, GObject, property, readFile, register, writeFileAsync } from "astal"; import AstalMpris from "gi://AstalMpris"; -import { CACHE_DIR } from "../utils/constants"; import { isRealPlayer } from "../utils/mpris"; @register({ GTypeName: "Players" }) @@ -12,7 +11,7 @@ export default class Players extends GObject.Object { return this.instance; } - readonly #path = `${CACHE_DIR}/players.txt`; + readonly #path = `${CACHE}/players.txt`; readonly #players: AstalMpris.Player[] = []; readonly #subs = new Map< JSX.Element, -- cgit v1.2.3-freya