BBS-Perm

 view release on metacpan or  search on metacpan

bin/bbs-perm-config  view on Meta::CPAN

---
global:  
# Default values for all sites
    title: 'bbs-perm'
    protocol: ssh
    port: 22
    agent: 'bbs-perm-agent'
    font: 'WenQuanYi Micro Hei Mono 20'
    timeout: 60
    background_file: /path/to/picture
    background_transparent: 0
    opacity: 0.8
    mouse_autohide: 0
    default:
        - bash
    color:
        background: black
        foreground: white
    plugins:
        uri:
            default: 'http://www.google.com'

examples/bbspermrc  view on Meta::CPAN

global:  
# Default values for all sites
    title: 'bbs-perm'
    protocol: ssh
    port: 22
    agent: 'bbs-perm-agent'
    font: 'WenQuanYi Micro Hei Mono 20'
# send some character every 60 seconds for anti-idle
    timeout: 60
    background_file: /path/to/picture
    background_transparent: 0
    mouse_autohide: 0
    color:
        background: black
        foreground: white
    plugins:
        uri:
            default: 'http://www.google.com'
            browser: 'firefox -new-tab'
        ip:
            qqwry: /opt/qqwry.dat

lib/BBS/Perm/Term.pm  view on Meta::CPAN

                    $term, Gtk2::Gdk::Color->parse( $conf->{color}{$_} )
                );
            }
        }
    }

    if ( $conf->{background_file} && -e $conf->{background_file} ) {
        $term->set_background_image_file( $conf->{background_file} );
    }

    if ( $conf->{background_transparent} ) {
        $term->set_background_transparent(1);
    }

    if ( defined $conf->{opacity} ) {
        $conf->{opacity} *= 65535 if $conf->{opacity} <= 1;
        $term->set_opacity($conf->{opacity});
    }

    if ( defined $conf->{mouse_autohide} ) {
        $term->set_mouse_autohide( $conf->{mouse_autohide} );
    }



( run in 0.390 second using v1.01-cache-2.11-cpan-a1d94b6210f )