💥 fix: config being declared after its usage
`generalConfig` and `userData` are now stored under src/config.ts
This commit is contained in:
@@ -7,7 +7,8 @@ import { Runner } from "../runner/Runner";
|
||||
import { showWorkspaceNumber } from "../window/bar/widgets/Workspaces";
|
||||
import { playSystemBell } from "./utils";
|
||||
import { player, setPlayer } from "./media";
|
||||
import { generalConfig, Shell } from "../app";
|
||||
import { Shell } from "../app";
|
||||
import { generalConfig } from "../config";
|
||||
|
||||
import AstalIO from "gi://AstalIO";
|
||||
import AstalMpris from "gi://AstalMpris";
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { createRoot, getScope, Scope } from "ags";
|
||||
import GObject, { getter, gtype, property, register, setter } from "ags/gobject";
|
||||
import { execAsync } from "ags/process";
|
||||
import { userData } from "../config";
|
||||
import GObject, { getter, gtype, property, register, setter } from "ags/gobject";
|
||||
|
||||
import AstalBluetooth from "gi://AstalBluetooth";
|
||||
import { userData } from "../app";
|
||||
|
||||
|
||||
/** AstalBluetooth helper (implements the default adapter feature) */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { execAsync } from "ags/process";
|
||||
import { generalConfig } from "../app";
|
||||
import { generalConfig } from "../config";
|
||||
import { onCleanup } from "ags";
|
||||
import GObject, { getter, ParamSpec, property, register, signal } from "ags/gobject";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user