Commit Graph

228 Commits (c04f97dc62f330ebdfd2fa7b9a99f260dc97fe5d)

Author SHA1 Message Date
aristocratos 1df9ed9f55 Improvement on osx cpu temperature collection with coretemp 2020-09-15 16:49:44 +02:00
aristocratos 8f9e8e852d v1.0.32 Bug fixes and new features 2020-09-14 18:12:23 +02:00
aristocratos b4873584e6 Added: support for OSX cpu core temperatures via coretemp program 2020-09-14 18:09:15 +02:00
aristocratos 1e61a6a1f9 Fixed battery meter placement calculation correction 2020-09-14 17:16:00 +02:00
aristocratos 36557dffee Fixed exception when sending signal using uppercase T, K, I 2020-09-14 17:04:15 +02:00
aristocratos f00e840657 Fixed cpu model name exception for certain xeon cpus 2020-09-14 17:00:36 +02:00
aristocratos d3f8a2f11d Added symbol for battery inactive 2020-09-13 16:30:16 +02:00
aristocratos 9244b43b60 v1.0.31 Small fixes 2020-09-13 10:54:22 +02:00
aristocratos 2f32651a68 Fixed cpu temp color wrong on small sizes 2020-09-13 02:58:04 +02:00
aristocratos 2ea39f58f4 Fixed battery meter fixes 2020-09-13 01:41:14 +02:00
aristocratos f2014dfbc4 Fixed battery meter redraw after terminal resize 2020-09-13 00:53:06 +02:00
aristocratos 96ffae4310 v1.0.30 Battery stat fix and argument parsing optimization 2020-09-12 15:10:39 +02:00
aristocratos 9b05d987ce Fixed hide battery time when not known 2020-09-12 15:04:12 +02:00
aristocratos f19d883532 Changed to using argparse 2020-09-12 14:59:04 +02:00
aristocratos a99a57c733 Merge branch 'argparse' 2020-09-12 14:52:11 +02:00
j_umar cfe8eeed9a Easy arguments handler 2020-09-12 12:33:50 +00:00
aristocratos 95183128e6 v1.0.29 Battery stats fixes 2020-09-12 14:27:41 +02:00
aristocratos 8f589f1931 Fixed battery percent converted to integer, battery timed hidden at 100% 2020-09-12 14:26:34 +02:00
aristocratos e12a3e2b6e v1.0.28 Battery meter bugfix 2020-09-12 13:34:55 +02:00
aristocratos 58bf478534 Fixed battery meter crash when connecting/disconnecting battery 2020-09-12 13:32:45 +02:00
aristocratos 67fe090fe6 v1.0.27 New features and new theme kyli0x 2020-09-12 00:00:02 +02:00
aristocratos 592cf5a3ff Added option to change the tree view auto collapse depth 2020-09-11 23:15:44 +02:00
aristocratos f093d793d1 Added battery meter and stats 2020-09-11 22:56:08 +02:00
aristocratos 1e23535aab v1.0.26 Bug fixes 2020-09-07 20:47:12 +02:00
aristocratos 02d98108cb Fixed temp color index crash and start from virtualenv crash 2020-09-07 20:44:30 +02:00
aristocratos e49030f9e5 v1.0.25 Added more adaptation for small terminal sizes 2020-09-06 21:36:53 +02:00
aristocratos d03387406a Fixed center clock 2020-09-06 09:53:18 +02:00
aristocratos 16852f652b Added more sizing adaptation for processes 2020-09-05 22:09:57 +02:00
aristocratos 206ebcd523 v1.0.24 Menu fixes for newly added features 2020-09-05 18:26:12 +02:00
aristocratos 4dcf22056b Fixed help menu entries 2020-09-05 18:24:36 +02:00
aristocratos a8faab32c0 Fixed "view_mode" option entry format 2020-09-05 18:17:25 +02:00
aristocratos dee2951e3a v1.0.23 New features and some fixes 2020-09-05 17:56:43 +02:00
aristocratos d9ac68b9b2 Added option to sync network scaling between download and upload 2020-09-05 17:50:30 +02:00
aristocratos a4a802b909 Merge branch 'spacing' 2020-09-05 16:32:02 +02:00
aristocratos 6bf5a44b7f Added view mode toggle with 3 presets 2020-09-05 16:29:06 +02:00
aristocratos 0d5a13c421 v1.0.22 Some refactoring and cleanup 2020-09-01 21:14:02 +02:00
aristocratos 56f04e9fce Added theme search path for snap install 2020-09-01 21:09:08 +02:00
aristocratos ec9e626002 Some refactoring and cleanup 2020-08-29 12:29:13 +02:00
RedBearAK 5ec30e87dd
Standardizing element spacing
This patch standardizes some spacing of elements in the "menu bar" areas for the CPU box and Process box. 

1. In every box corner except the top right (update_ms display), and bottom right (display of selected process / total number of processes), the elements are exactly two character widths away from the corner, which is visually appealing as a standard. This patch moves the update_ms display (top right) and the number of processes display (bottom right) to the left by one character width, to adhere to the two-character standard. There should be no visual display issues with the bottom right element and the "terminate" element up to a process count of 999/999, at a window size of 80x24 or larger. There are two character widths of spacing to the left up to process #99, then one character spacing and the capital "H" visual appearance for processes 100-999. 

2. Nearly every element that is near to (and "tied" to when the window expands) another associated element in the UI is allowed to be only a single character width away, forming a neat capital "H" with the graphical line characters. Except for the "filter" displayed element, which is two characters from "proc". Other elements that have more space between them typically have more than one character width by coincidence, such as "mem" and "graph" in the Memory box, and "disks" and "swap" in the Disks box, which each maintain two characters distance from their respective corners and expand away from each other, attached to their own box corners. This patch moves "filter" to the left by one character width, since it moves along with "proc" when the window is expanded. This removes a minor visual anomaly in the overall UI. 

3. The display of "Menu" and "mini" have not been moved in this patch. Since they are somewhat unique "meta" elements relating to the overall application rather than the content of a box, it seems visually logical that they be treated separately and left exactly where they are.
2020-08-27 21:42:46 -08:00
aristocratos 59916c9a85 v1.0.21 Bug fixes 2020-08-24 17:18:01 +02:00
RedBearAK 0115bb68f3
Clean excess whitespace from CPU model name
Added one line to clean excess whitespace from the returned CPU model name, just before unnecessary patterns are removed and the name is returned. See issue #68
2020-08-23 21:56:28 -08:00
aristocratos 7806d6f66b v1.0.20 Release bump to fix pypi and source version missmatch 2020-08-23 22:53:51 +02:00
aristocratos 62ccba9cf7 v1.0.19 Bug fixes 2020-08-23 21:15:59 +02:00
aristocratos ccc3d0bcd0 Fixed sorting out negative cpu temperature values from bad sensors 2020-08-23 21:13:01 +02:00
aristocratos 620f3b47f6 Changed net_auto to default to True 2020-08-23 15:11:33 +02:00
aristocratos 332e8458ce v1.0.18 Bug fixes 2020-08-23 15:00:49 +02:00
aristocratos 6e84fadabc Fix init screen and error log level when starting from pip installation 2020-08-23 14:59:38 +02:00
aristocratos 17fad3d834 v1.0.17 2020-08-23 14:26:10 +02:00
aristocratos 95b0076445 Expanded cpu name detection 2020-08-23 13:17:16 +02:00
aristocratos dfc6ea70dc Added option to toggle theme background color 2020-08-23 12:37:34 +02:00
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