From 288edbdc1649bb47f91c380eb7c9acfc52ce9948 Mon Sep 17 00:00:00 2001 From: opi3636 Date: Sun, 26 Apr 2026 15:28:42 +0300 Subject: [PATCH] fix: update window class --- src/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index adb4998835..efe9765817 100644 --- a/src/index.ts +++ b/src/index.ts @@ -126,10 +126,8 @@ if (config.get('options.disableHardwareAcceleration')) { } if (is.linux()) { - // Overrides WM_CLASS for X11 to correspond to icon filename - app.setName( - 'com.github.th_ch.\u0079\u006f\u0075\u0074\u0075\u0062\u0065\u005f\u006d\u0075\u0073\u0069\u0063', - ); + // Overrides WM_CLASS for X11 and Wayland to correspond to icon filename + app.setName('com.github.th_ch.pear_music'); // Stops chromium from launching its own MPRIS service if (await config.plugins.isEnabled('shortcuts')) {