Mpris fix (#563)

This commit is contained in:
Jas Singh
2024-12-20 20:10:41 -08:00
committed by GitHub
parent c90a182dd8
commit 8687c38632
3 changed files with 3 additions and 3 deletions

View File

@@ -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[] = [
{

View File

@@ -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[] = [

View File

@@ -6,7 +6,7 @@ import options from 'src/options';
const { noMediaText } = options.menus.media;
export const activePlayer = Variable<AstalMpris.Player | undefined>(mprisService.players[0]);
export const activePlayer = Variable<AstalMpris.Player | undefined>(undefined);
const forceUpdate = Variable(false);