Cleaner async, music-client aliased to go trough awesome
This commit is contained in:
@@ -27,9 +27,9 @@ local function set_text(text)
|
||||
end
|
||||
end
|
||||
|
||||
ret.execute_command = function(command)
|
||||
ret.execute_command = function(command, arg)
|
||||
|
||||
awful.spawn.easy_async('music-client ' .. command, function(stdout, stderr, reason, code)
|
||||
awful.spawn.easy_async({'music-client', command, arg}, function(stdout, stderr, reason, code)
|
||||
|
||||
local text = su.split(stdout, '\n')
|
||||
local active_command =
|
||||
|
||||
Reference in New Issue
Block a user