Merge branch 'master' of gitea.tforgione.fr:tforgione/dotfiles

This commit is contained in:
Thomas Forgione 2018-07-25 18:13:19 +02:00
commit 0f5067fdbb
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 3 additions and 1 deletions

View File

@ -65,8 +65,10 @@ ret.execute_command = function(command, arg)
elseif start_server_command then
-- Start the server and re-exec the command
awful.spawn.easy_async({'music-server', command, arg}, function(stdout, stderr, reason, code)
end)
os.execute('music-server&')
try_noop()
else
set_text('music-server not running')
end