diff options
Diffstat (limited to 'services/players.ts')
| -rw-r--r-- | services/players.ts | 3 |
1 files changed, 1 insertions, 2 deletions
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, |