# This is a very simple function, but putting it here fits the
# abstractions I'm using in .owlconf better

sub delete_trash() {
    my $view = owl::command('getview');
    owl::command('view all');
    owl::command('delete trash');
    owl::command('expunge');
    owl::command("view $view");
}

1;
