Bugfix: The synopsis mentioned ->workspaces, but it’s ->get_workspaces
This commit is contained in:
parent
7176a7074b
commit
6274959029
|
@ -41,7 +41,7 @@ then subscribe to events or send messages and receive their replies.
|
||||||
|
|
||||||
use AnyEvent::I3;
|
use AnyEvent::I3;
|
||||||
|
|
||||||
my $workspaces = i3->workspaces->recv;
|
my $workspaces = i3->get_workspaces->recv;
|
||||||
say "Currently, you use " . @{$workspaces} . " workspaces";
|
say "Currently, you use " . @{$workspaces} . " workspaces";
|
||||||
|
|
||||||
=head1 EXPORT
|
=head1 EXPORT
|
||||||
|
|
Loading…
Reference in New Issue