From 8687c38632befcfb37fa2dac563d98632dcbea2d Mon Sep 17 00:00:00 2001 From: Jas Singh Date: Fri, 20 Dec 2024 20:10:41 -0800 Subject: [PATCH] Mpris fix (#563) --- src/cli/commander/commands/appearance/index.ts | 2 +- src/cli/commander/commands/windowManagement/index.ts | 2 +- src/globals/media.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli/commander/commands/appearance/index.ts b/src/cli/commander/commands/appearance/index.ts index f4f78c6..d33ffff 100644 --- a/src/cli/commander/commands/appearance/index.ts +++ b/src/cli/commander/commands/appearance/index.ts @@ -1,6 +1,6 @@ import { errorHandler } from 'src/lib/utils'; -import { Command } from '../types'; import { BarLayouts } from 'src/lib/types/options'; +import { Command } from '../../types'; export const appearanceCommands: Command[] = [ { diff --git a/src/cli/commander/commands/windowManagement/index.ts b/src/cli/commander/commands/windowManagement/index.ts index ae43d79..2ec7db3 100644 --- a/src/cli/commander/commands/windowManagement/index.ts +++ b/src/cli/commander/commands/windowManagement/index.ts @@ -1,5 +1,5 @@ import { errorHandler } from 'src/lib/utils'; -import { Command } from '../types'; +import { Command } from '../../types'; import { App } from 'astal/gtk3'; export const windowManagementCommands: Command[] = [ diff --git a/src/globals/media.ts b/src/globals/media.ts index 501fdb7..9cb65cd 100644 --- a/src/globals/media.ts +++ b/src/globals/media.ts @@ -6,7 +6,7 @@ import options from 'src/options'; const { noMediaText } = options.menus.media; -export const activePlayer = Variable(mprisService.players[0]); +export const activePlayer = Variable(undefined); const forceUpdate = Variable(false);