Add revspace specific plugins

Written by several authors. There is no log...
This commit is contained in:
Juerd Waalboer 2019-09-23 21:12:03 +02:00
parent b6855df288
commit 9797e3c1c8
8 changed files with 210 additions and 1 deletions

16
plugins/revspace_window Normal file
View file

@ -0,0 +1,16 @@
sub command {
# Bij elke invoer (bijv. barcode-scan) terug naar window 0.
system qw(screen -S bar -X at % select 0);
# Iemand zet steeds vbell aan, en dus het piepje uit. Daardoor werkt de
# idle-plugin niet zinnig en dat kost geld.
system qw(screen -S bar -X vbell off);
return NEXT;
}
sub hook_abort {
command();
return undef;
}