1 2 3 4 5 6 7
#!perl sub on_user_command { my ($self, $cmd) = @_; if ($cmd eq "fullscreen:switch") { my $dummy = `wmctrl -r :ACTIVE: -b toggle,fullscreen` ; } }