mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-02 21:15:08 +08:00
Make a tiny optimization on evil mpd
This commit is contained in:
parent
9e7143991d
commit
01e9f7c0c4
1 changed files with 0 additions and 1 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue