diff --git a/.config/quickshell/modules/common/functions/string_utils.js b/.config/quickshell/modules/common/functions/string_utils.js index c22671ebf..0819dbfb9 100644 --- a/.config/quickshell/modules/common/functions/string_utils.js +++ b/.config/quickshell/modules/common/functions/string_utils.js @@ -158,10 +158,10 @@ function cleanMusicTitle(title) { // Japenis brackets title = title.replace(/^ *【[^】]*】/, "") // Touhou title = title.replace(/^ *《[^》]*》/, "") // ?? - title = title.replace(/^ *「[^」]*」/, "") // OP/ED - title = title.replace(/^ *『[^』]*』/, "") // OP/ED + title = title.replace(/^ *「[^」]*」/, "") // OP/ED thingie + title = title.replace(/^ *『[^』]*』/, "") // OP/ED thingie - return title; + return title.trim(); } function friendlyTimeForSeconds(seconds) {