summaryrefslogtreecommitdiff
path: root/Loadbars/Shared.pm
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2012-04-19 22:23:55 +0200
committerPaul Buetow <paul@buetow.org>2012-04-19 22:23:55 +0200
commitc16d12685eaeb94a57dcd6d72945d7d892561e5e (patch)
tree65987593fcb64aa6e5489d36a15d2609899b6cd1 /Loadbars/Shared.pm
parent3e72736ade1ef4aa1fe3a05bc4b1f203f5a7d1ab (diff)
add Makefile and perltidy
Diffstat (limited to 'Loadbars/Shared.pm')
-rw-r--r--Loadbars/Shared.pm26
1 files changed, 14 insertions, 12 deletions
diff --git a/Loadbars/Shared.pm b/Loadbars/Shared.pm
index 0b7a16d..df2abf6 100644
--- a/Loadbars/Shared.pm
+++ b/Loadbars/Shared.pm
@@ -5,32 +5,34 @@ my %AVGSTATS : shared;
my %CPUSTATS : shared;
my %MEMSTATS : shared;
my %MEMSTATS_HAS : shared;
+
#my %NETSTATS : shared;
#my %NETSTATS_HAS : shared;
# Global configuration hash
my %C : shared;
+
# Global configuration hash for internal settings (not configurable)
my %I : shared;
# Setting defaults
%C = (
- average => 15,
- barwidth => 35,
- extended => 0,
- factor => 1,
- height => 230,
- maxwidth => 1280,
- samples => 1000,
- showcores => 0,
- showmem => 0,
- showtext => 1,
+ average => 15,
+ barwidth => 35,
+ extended => 0,
+ factor => 1,
+ height => 230,
+ maxwidth => 1280,
+ samples => 1000,
+ showcores => 0,
+ showmem => 0,
+ showtext => 1,
showtexthost => 0,
- sshopts => '',
+ sshopts => '',
);
%I = (
- cpuregexp => 'cpu',
+ cpuregexp => 'cpu',
showtextoff => 0,
);