Changed debug option names
* --debug-json -> --debug * --debug-modules -> --debug-icons
This commit is contained in:
@@ -125,7 +125,7 @@ impl bar_modules::BarModuleActions for UnibarModuleCpu {
|
||||
thread::sleep(Duration::from_millis(1000));
|
||||
self.cpu_times_sample_2 = self.read_cpu_times().expect("REASON");
|
||||
|
||||
if self.opts.debug_json {
|
||||
if self.opts.debug {
|
||||
println!("-----> CPU times sample 1 - {:#?}", self.cpu_times_sample_1);
|
||||
println!("-----> CPU times sample 2 - {:#?}", self.cpu_times_sample_2);
|
||||
}
|
||||
@@ -152,7 +152,7 @@ impl bar_modules::BarModuleActions for UnibarModuleCpu {
|
||||
// let caps = re.captures(self.procstat_str.as_str()).unwrap();
|
||||
|
||||
// let cpu_line = caps.get(0).unwrap().as_str();
|
||||
// if self.opts.debug_json {
|
||||
// if self.opts.debug {
|
||||
// println!("-----> CPU line - {:#?}", cpu_line);
|
||||
// }
|
||||
|
||||
|
Reference in New Issue
Block a user