diff options
Diffstat (limited to 'lib/Loadbars/Config.pm')
| -rw-r--r-- | lib/Loadbars/Config.pm | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/lib/Loadbars/Config.pm b/lib/Loadbars/Config.pm index 57fad2f..2c91739 100644 --- a/lib/Loadbars/Config.pm +++ b/lib/Loadbars/Config.pm @@ -4,6 +4,7 @@ use strict; use warnings; use Loadbars::Utils; +use Loadbars::Shared; use Exporter; @@ -11,33 +12,6 @@ use base 'Exporter'; our @EXPORT = qw ( %C %I ); -# Global configuration hash -our %C : shared; - -# Global configuration hash for internal settings (not configurable) -our %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, - showtexthost => 0, - sshopts => '', -); - -%I = ( - cpuregexp => 'cpu', - showtextoff => 0, -); - sub read () { return unless -f Loadbars::Constants->CONFFILE; |
