Fix service based variables. (#565)

This commit is contained in:
Jas Singh
2024-12-20 21:17:06 -08:00
committed by GitHub
parent 49288718cb
commit 0101f242e6
2 changed files with 10 additions and 6 deletions

View File

@@ -15,6 +15,8 @@ const { truncation, truncation_size, show_label, show_active_only, rightClick, m
options.bar.media;
const Media = (): BarBoxChild => {
activePlayer.set(mprisService.get_players()[0]);
const isVis = Variable(!show_active_only.get());
show_active_only.subscribe(() => {