From 01e9f7c0c482bfb929fc80c8ebf4af9d6d48d0d2 Mon Sep 17 00:00:00 2001 From: elenapan Date: Sat, 28 Mar 2020 18:33:14 +0200 Subject: [PATCH] Make a tiny optimization on evil mpd --- config/awesome/evil/mpd.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/config/awesome/evil/mpd.lua b/config/awesome/evil/mpd.lua index 809309f..bee2202 100644 --- a/config/awesome/evil/mpd.lua +++ b/config/awesome/evil/mpd.lua @@ -15,7 +15,6 @@ local function emit_info() function(stdout) local artist = stdout:match('(.*)@@') local title = stdout:match('@@(.*)@') - title = string.gsub(title, '^%s*(.-)%s*$', '%1') local status = stdout:match('%[(.*)%]') status = string.gsub(status, '^%s*(.-)%s*$', '%1')