Commit Graph

228 Commits (c04f97dc62f330ebdfd2fa7b9a99f260dc97fe5d)

Author SHA1 Message Date
aristocratos 4a85353b3d Fixed issues when importing from non terminal 2020-08-23 12:14:00 +02:00
aristocratos 1b2579ba93 Merge branch 'pypi-poetry' 2020-08-22 20:21:15 +02:00
aristocratos 8109e9e890 Added theme install and path detection 2020-08-22 20:20:58 +02:00
Claudio Jolowicz c6a3c4b3ec
Declare THEME as global before assignment in `main` 2020-08-22 14:09:14 +02:00
Claudio Jolowicz 00e2d6675b
Move `Init` class from `main` to top-level 2020-08-22 14:02:11 +02:00
Claudio Jolowicz a79042bc28
Add `main` function as entry point for console script 2020-08-22 13:49:01 +02:00
Claudio Jolowicz 442802af99
Rename `main` to `run`
By convention, the entry point for the console script is a function called
`main`. This function encompasses all the code currently in the `if __name__ ==
"__main__":` block. But there is already a function called `main`, for the main
loop. So we rename this function to `run`, choosing a short name with similar
meaning.
2020-08-22 13:45:21 +02:00
aristocratos 40a53c6795 Added error checking for net_download and net_upload config values 2020-08-20 18:31:12 +02:00
aristocratos 87096cde0d Added psutil outdated warning message 2020-08-18 21:51:34 +02:00
aristocratos 73eb150abe v1.0.16 Added ability to expand/collapse processes in tree view 2020-08-16 00:56:33 +02:00
aristocratos bc11610037 Added ability to expand/collapse processes in the tree view 2020-08-16 00:53:51 +02:00
aristocratos bb0e762e78 Fixed net_upload variable not working 2020-08-15 20:57:14 +02:00
aristocratos 21b1dc1e81 v1.0.15 New features and bug fixes 2020-08-15 18:07:44 +02:00
aristocratos c10bb09371 Added network graph color gradient bandwidth option by @drazil100 2020-08-15 17:39:45 +02:00
aristocratos 0226b55df0 Merge branch 'network-color-scaling' 2020-08-15 15:59:29 +02:00
aristocratos 78ab03cf95 Added cpu_thermal sensor detection for raspberri pi cpu temp 2020-08-15 15:27:54 +02:00
aristocratos 2c49f4baa2 Fixed single color graphs crash 2020-08-15 15:17:21 +02:00
aristocratos 6693ff3095 v1.0.14 New color attributes added to theme parser 2020-08-14 19:55:15 +02:00
aristocratos 195b33edc0 Added new theme values "graph_text", "meter_bg", "process_start", "process_mid" and "process_end", see default_black.theme for reference 2020-08-14 19:37:40 +02:00
aristocratos 1777cc2945 v1.0.13 Bug fixes 2020-08-12 16:58:59 +02:00
aristocratos 3a1f055f69 Fixed Check for minimum terminal size at start when init screen is enabled 2020-08-12 16:57:34 +02:00
aristocratos f867c86fdb Fixed cpu usage bug when showing tree and memory in percent 2020-08-12 16:30:27 +02:00
aristocratos 63058a1178 v1.0.12 Fixed cpu temp colors 2020-08-11 21:39:43 +02:00
aristocratos 38d9e97504 Fixed cpu high and cpu crit for osx and raspberry pi 2020-08-11 21:37:57 +02:00
aristocratos 739eeca3b7 v1.0.11 Bug fixes 2020-08-11 20:35:34 +02:00
aristocratos b1d664f947 Fixed crash on sorting change when lacking permissions 2020-08-11 20:32:20 +02:00
aristocratos 3e8edfe3e4 Fixed cpu temperature colors not converted to percent of cpu critcal temp 2020-08-11 20:23:19 +02:00
aristocratos 30b65ef3b8 Fixed slowdown when showing memory in percent instead of bytes 2020-08-11 20:08:05 +02:00
aristocratos 52053dbd84 Fixed: Load AVG being drawn outside box on small sizes 2020-08-11 17:09:05 +02:00
aristocratos 7593363165 Fixed getsensors detection of vcgencmd 2020-08-11 16:50:25 +02:00
aristocratos 2942a44f9b v1.0.10 Bug fix 2020-08-10 22:08:31 +02:00
aristocratos 3208be592f Fixed raspberry pi cpu temps, actually fixed this time... 2020-08-10 21:50:15 +02:00
aristocratos f38f5441a3 v1.0.9 Raspberry pi cpu temp fix 2020-08-10 16:28:40 +02:00
aristocratos b306fc2776 Fixed: Raspberry pi cpu temp, again. 2020-08-10 16:27:35 +02:00
drazil100@gmail.com d35e6e539e Scale network graph gradient with top speed instead of with the height of the graph 2020-08-09 19:08:51 -05:00
aristocratos ce897681fc v1.0.8 New features and some bug fixes 2020-08-09 18:00:26 +02:00
aristocratos e6bcc9d65f Added: Set terminal title at start 2020-08-09 17:56:06 +02:00
aristocratos 8fcf638d83 Added update checker 2020-08-09 17:43:36 +02:00
aristocratos 164598e5a9 Added options to sed custom network graphs min scaling values and "auto" button to toggle manual and default values. 2020-08-09 16:20:00 +02:00
aristocratos d38d74d92f Added option to show memory in bytes for processes, enabled by default 2020-08-09 14:45:03 +02:00
aristocratos 99f9b0828b Fixed failure to detect cpu temp on raspberry pi 2020-08-09 13:53:42 +02:00
aristocratos ca3fe5cd30 Layout changes to cpu box 2020-08-07 19:39:58 +02:00
aristocratos 21f9aadde9 v1.0.7 Bug fixes 2020-08-06 21:44:05 +02:00
aristocratos e2c59366c2 Fixed crash when starting with show_disks=False 2020-08-06 19:07:42 +02:00
aristocratos 8b96badd59 Changed info box to restore last selection on close 2020-08-06 18:06:43 +02:00
aristocratos 1a3db49bb9 v1.0.6 Bug fixes 2020-08-06 17:39:12 +02:00
aristocratos ade051c949 Fixed no cpu percent in info box when filtering 2020-08-06 17:28:19 +02:00
aristocratos 43c187753a Fixed cpu temps index error on uneven temp collection 2020-08-06 17:12:31 +02:00
aristocratos cd9cc89d6d v1.0.5 Fixed attribute typo 2020-08-05 22:32:07 +02:00
aristocratos 7be69a7c85 Fixed attribute typo 2020-08-05 22:30:11 +02:00
aristocratos 9e619b67fd v1.0.4 Bug fixes and layout changes 2020-08-05 22:01:40 +02:00
aristocratos c9c61a9d24 Selection now returns to last selection when pressing down from info box 2020-08-05 21:56:13 +02:00
aristocratos 9621b21025 Fixed broken cpu box layout on high core count and change to default layout 2020-08-05 21:01:44 +02:00
aristocratos 7a3654b731 Fixed crash when filtering and showing info box, added improved cpu temperature detection. 2020-08-05 16:49:19 +02:00
aristocratos 28bb245ade v1.0.3 Bug fixes and hotkey changes 2020-08-04 21:53:22 +02:00
aristocratos 7847b0a565 Updated hotkeys in help 2020-08-04 21:52:21 +02:00
aristocratos cf2f59978e Fixes for crash on detailed info when showing tree, incorrect sorting for memory, unsupported osx psutil values and hotkey changes. 2020-08-04 21:35:49 +02:00
aristocratos 8d3d5ea5dc v1.0.2 More bugfixes 2020-08-03 22:17:13 +02:00
aristocratos 42cab9869d Added error handling for exception in psutil.cpu_freq() 2020-08-03 22:10:23 +02:00
aristocratos 39a94115d3 Added "/etc/bpytop.conf" as default seed for config file creation if it exists. 2020-08-03 22:00:55 +02:00
aristocratos be54d84fc5 Fix for clearing mouse queue to avoid accidental character interpretation 2020-08-03 21:44:54 +02:00
aristocratos ebbc25dc3d Fixed: net_io_counters() not iterating over itself 2020-08-03 19:42:09 +02:00
aristocratos 896828819c Added IndexError catch for cpu temperature collection 2020-08-03 19:23:10 +02:00
aristocratos 6a7cd064af v1.0.1 Bug fixes 2020-08-03 18:29:52 +02:00
aristocratos e4f65e7ef3 Added error handling for psutil.net_io_counters() errors. 2020-08-03 18:22:14 +02:00
aristocratos d4b101c2d1 Added exception catch for psutil io_counters error caused by psutil < 5.7.0 and Linux kernel >= 5 2020-08-03 17:47:44 +02:00
aristocratos fd8852a160 Fixed bad assumption of cpu model name string contents. 2020-08-03 17:02:34 +02:00
aristocratos 2c690d54fb v1.0.0 First release 2020-08-02 20:10:42 +02:00
aristocratos 5e622476d9 Added details box 2020-07-30 04:29:40 +02:00
aristocratos 88abc5ab1a Added data collection for details box 2020-07-27 03:13:13 +02:00
aristocratos 3a07ef4bfd Added proc collection 2020-07-24 03:44:11 +02:00
aristocratos 043ec572b9 Added NetBox draw function and added mouse support 2020-07-21 00:52:34 +02:00
aristocratos 357ac02969 Added MemBox draw functions 2020-07-18 03:16:01 +02:00
aristocratos 7c53ab982e Added draw function for CpuBox class 2020-07-16 02:51:55 +02:00
aristocratos 681342b745 Added temperature collection to CpuCollector 2020-07-14 02:20:40 +02:00
aristocratos fa32357d6a Changed init, added log_level config option 2020-07-12 00:54:52 +02:00
aristocratos d5e63f56c1 Added Graph class with functions for graph creation 2020-07-10 02:50:24 +02:00
aristocratos e1b32bd047 Restructure 2020-07-09 02:56:03 +02:00