Cleaning code

This commit is contained in:
Simon Vieille 2018-02-06 12:00:51 +01:00
parent 44014cac36
commit db087e8637
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10
1 changed files with 0 additions and 1 deletions

View File

@ -126,7 +126,6 @@ $server->addMessageHandler('key', function (ConnectionInterface $from, array $da
$server->addMessageHandler('text', function (ConnectionInterface $from, array $data) {
$value = $data['value'] ?? null;
$live = $data['live'] ?? false;
if (!empty($value)) {
return shell_exec(sprintf('xdotool type %s', escapeshellarg($value)));