summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (lxpbuetow) <paul.buetow@1und1.de>2011-11-18 15:12:36 +0100
committerPaul Buetow (lxpbuetow) <paul.buetow@1und1.de>2011-11-18 15:12:36 +0100
commit50266f273c81f1d46b3025fed4dfbbb71f04f9e5 (patch)
tree383b7ad47d4c07265070af7313a662518fbdb0d7
parentbe34edcee2100053803dbc56a182a6f17e65b83d (diff)
Change default settings
-rwxr-xr-xloadbars.pl13
1 files changed, 10 insertions, 3 deletions
diff --git a/loadbars.pl b/loadbars.pl
index 98992f5..ad7bb45 100755
--- a/loadbars.pl
+++ b/loadbars.pl
@@ -67,8 +67,8 @@ my %C : shared;
inter => 0.1,
samples => 1000,
sshopts => '',
- width => 1200,
- height => 200,
+ width => 1250,
+ height => 150,
);
# Quick n dirty helpers
@@ -203,7 +203,14 @@ sub draw_background ($$) {
}
sub create_threads (@) {
- return map { $_->detach(); $_ } map { threads->create('thread_get_stats', $_) } @_;
+ return map {
+ $_->detach();
+ $_;
+
+ } map {
+ threads->create('thread_get_stats', $_);
+
+ } @_;
}
sub main_loop ($@) {