Commit Graph

95 Commits (a4a802b909f0adabadee1c661ef211c513acf869)

Author SHA1 Message Date
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