From c067ad2f8eb4593dfd8301e9e6c9a39b84c849df Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 11 Mar 2024 15:47:24 +0100 Subject: [PATCH] Escape ampersands so pango can render it with i3status-rust. --- .bauke/scripts/tauon-controls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bauke/scripts/tauon-controls.ts b/.bauke/scripts/tauon-controls.ts index 3b5e4cc..4e62173 100644 --- a/.bauke/scripts/tauon-controls.ts +++ b/.bauke/scripts/tauon-controls.ts @@ -101,7 +101,7 @@ async function getStatus(): Promise { async function getCurrentSong(): Promise { const status = await getStatus(); if (status.status === "playing") { - console.log(`${status.artist} - ${status.title}`); + console.log(`${status.artist} - ${status.title}`.replaceAll("&", "&")); } }