fix(ags): use package flag on ts-for-gir

This commit is contained in:
matt1432 2024-07-17 00:21:12 -04:00
parent 628ccd1758
commit 8f0ec20dcf
14 changed files with 142 additions and 185 deletions
modules/ags/config/ts/bar/items

View file

@ -1,5 +1,5 @@
import Tray from 'gi://AstalTray?version=0.1';
const SystemTray = Tray.Tray.get_default();
import AstalTray from 'gi://AstalTray?version=0.1';
const SystemTray = AstalTray.Tray.get_default();
const { timeout } = Utils;
@ -10,10 +10,6 @@ import Separator from '../../misc/separator.ts';
const REVEAL_DURATION = 500;
const SPACING = 12;
/* Types */
// FIXME: get types from 'gi://AstalTray'
import type AstalTray from 'types/astal-tray/astaltray-0.1.d.ts';
const SysTrayItem = (item: AstalTray.TrayItem) => {
if (item.id === 'spotify-client') {