parent
628ccd1758
commit
8f0ec20dcf
14 changed files with 142 additions and 185 deletions
modules/ags/config/ts/bar/items
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue