From 42f9c571f4d465adbe5b317a57f13544f79cb153 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 13 Jan 2024 23:53:52 -0500 Subject: [PATCH] fix(ags binto): adapt to latest wim changes --- devices/binto/config/ags/ts/bar/main.ts | 7 ++++--- devices/binto/config/ags/ts/main.ts | 6 +++--- devices/binto/config/ags/ts/notifications/main.ts | 8 +++++--- devices/binto/config/ags/tsconfig.json | 1 + devices/binto/config/ags/wim | 1 - 5 files changed, 13 insertions(+), 10 deletions(-) delete mode 120000 devices/binto/config/ags/wim diff --git a/devices/binto/config/ags/ts/bar/main.ts b/devices/binto/config/ags/ts/bar/main.ts index 275976c7..570c2400 100644 --- a/devices/binto/config/ags/ts/bar/main.ts +++ b/devices/binto/config/ags/ts/bar/main.ts @@ -1,8 +1,9 @@ import { Box, CenterBox, Window } from 'resource:///com/github/Aylur/ags/widget.js'; -import SysTray from '../../wim/ts/bar/items/systray.ts'; -import Separator from '../../wim/ts/misc/separator.ts'; -import NotifButton from '../../wim/ts/bar/items/notif-button.ts'; +import SysTray from '../../../../../wim/config/ags/ts/bar/items/systray.ts'; +import Separator from '../../../../../wim/config/ags/ts/misc/separator.ts'; +import NotifButton from + '../../../../../wim/config/ags/ts/bar/items/notif-button.ts'; import Clock from './buttons/clock.ts'; const PADDING = 20; diff --git a/devices/binto/config/ags/ts/main.ts b/devices/binto/config/ags/ts/main.ts index 15128eb0..64246792 100644 --- a/devices/binto/config/ags/ts/main.ts +++ b/devices/binto/config/ags/ts/main.ts @@ -1,9 +1,9 @@ -import Pointers from '../wim/services/pointers.ts'; +import Pointers from '../../../../wim/config/ags/services/pointers.ts'; -import AppLauncher from '../wim/ts/applauncher/main.ts'; +import AppLauncher from '../../../../wim/config/ags/ts/applauncher/main.ts'; import Bar from './bar/main.ts'; import { NotifPopups, NotifCenter } from './notifications/main.ts'; -import Powermenu from '../wim/ts/powermenu.ts'; +import Powermenu from '../../../../wim/config/ags/ts/powermenu.ts'; const closeWinDelay = 800; diff --git a/devices/binto/config/ags/ts/notifications/main.ts b/devices/binto/config/ags/ts/notifications/main.ts index bc955696..b7a6de7b 100644 --- a/devices/binto/config/ags/ts/notifications/main.ts +++ b/devices/binto/config/ags/ts/notifications/main.ts @@ -1,9 +1,11 @@ import { Window } from 'resource:///com/github/Aylur/ags/widget.js'; -import NotifCenterWidget from '../../wim/ts/notifications/center.ts'; -import PopUpsWidget from '../../wim/ts/notifications/popup.ts'; +import NotifCenterWidget from + '../../../../../wim/config/ags/ts/notifications/center.ts'; +import PopUpsWidget from + '../../../../../wim/config/ags/ts/notifications/popup.ts'; -import PopupWindow from '../../wim/ts/misc/popup.ts'; +import PopupWindow from '../../../../../wim/config/ags/ts/misc/popup.ts'; export const NotifPopups = () => Window({ diff --git a/devices/binto/config/ags/tsconfig.json b/devices/binto/config/ags/tsconfig.json index e1d84ef2..506ae24c 100644 --- a/devices/binto/config/ags/tsconfig.json +++ b/devices/binto/config/ags/tsconfig.json @@ -5,6 +5,7 @@ "lib": [ "ES2022" ], + "allowImportingTsExtensions": true, "allowJs": true, "checkJs": true, "strict": true, diff --git a/devices/binto/config/ags/wim b/devices/binto/config/ags/wim deleted file mode 120000 index fab93e2f..00000000 --- a/devices/binto/config/ags/wim +++ /dev/null @@ -1 +0,0 @@ -../../../wim/config/ags \ No newline at end of file