Commit Graph

372 Commits

Author SHA1 Message Date
Sean E. Russell
24ca528cef Update README with option flag change for battery & adds status bar
flag.
2019-01-01 11:16:51 -06:00
Sean E. Russell
2a6a479d11 Merge https://github.com/cjbassi/gotop
Disable all battery code if battery not selected in options.
Refactors widgetCount to localize use.
2019-01-01 11:04:31 -06:00
Caleb Bassi
2934d6fd48 Fix sparkline title overflowing 2019-01-01 02:29:14 -08:00
Caleb Bassi
5d17121510 Add statusbar (Close #72) 2019-01-01 02:15:31 -08:00
Caleb Bassi
ff62b55133 Fix race condition panic 2018-12-31 18:37:47 -08:00
Caleb Bassi
43d8b32230 Merge branch 'termui-port' 2018-12-31 18:37:28 -08:00
Caleb Bassi
2e48524cc9 Port to termui 2.0 2018-12-31 18:23:45 -08:00
Caleb Bassi
b73fe56e94 Add widget files from cjbassi/termui 2018-12-31 15:01:13 -08:00
Sean E. Russell
5ee4b4a978 Adds battery support
Cleans up mod file; adds flag for battery.

Adds documentation; fixes missing color sets for battery.
2018-12-26 23:15:44 -06:00
Caleb Bassi
7b77956fee Fix docopt import path 2018-12-24 13:09:30 -08:00
Caleb Bassi
b6e6e343d3 Code cleanup 2018-12-22 19:24:12 -08:00
Caleb Bassi
50f1f6cbd8 Update readme 2018-12-22 19:19:04 -08:00
Caleb Bassi
6cfd53f077 Update readme and bug report template with new config paths 2018-12-22 19:15:47 -08:00
Caleb Bassi
454098514e Fix config path location on Windows and OSX
Config path was $XDG_CONFIG_HOME/gotop on all platforms, but the config path specification is different on Windows and OSX
2018-12-22 18:41:05 -08:00
Caleb Bassi
6188e24c73 Fix unnecessary goroutine 2018-12-18 18:13:18 -08:00
Caleb Bassi
2e6615bc7b
Merge pull request #87 from 0mp/patch-1
Add FreeBSD installation instructions
2018-12-16 23:54:37 -08:00
Mateusz Piotrowski
db60645f1a
Add FreeBSD installation instructions
A port was recently added:
https://www.freshports.org/sysutils/gotop/
2018-12-14 11:35:28 +01:00
Caleb Bassi
d809390c82 Bump version 2018-12-13 22:42:46 -08:00
Caleb Bassi
b3ea19605d Close #86 2018-12-13 22:05:22 -08:00
Caleb Bassi
625b16c916 Close #85 2018-12-13 21:59:45 -08:00
Caleb Bassi
23b961bcfa Fix panics on error for Mem widget 2018-12-13 21:32:22 -08:00
Caleb Bassi
f608f636ce Use old 'ps' parsing method on freebsd 2018-12-13 19:24:34 -08:00
Caleb Bassi
a28e8117d7 Add freebsd build flag 2018-12-13 19:13:28 -08:00
Caleb Bassi
45a252f2d9 Revert changes to 'ps' on Darwin 2018-12-13 13:55:58 -08:00
Caleb Bassi
f4cecec322 Update build steps 2018-12-13 02:36:24 -08:00
Caleb Bassi
015f458392 Bump version 2018-12-12 18:19:00 -08:00
Caleb Bassi
c1e7986ed0 Fix stderr redirection on arm64 2018-12-12 18:18:43 -08:00
Caleb Bassi
e81b4c14c0 Update gitignore 2018-12-12 18:13:39 -08:00
Caleb Bassi
001d5ca835 Change Disk column widths 2018-12-12 17:35:55 -08:00
Caleb Bassi
ce4f867bc1 Refactor error handling in main.go 2018-12-10 22:27:05 -08:00
Caleb Bassi
f5ad5e8441 Fix double counting network data with VPN (Close #61) 2018-12-10 14:43:01 -08:00
Caleb Bassi
defda4a38a Remove 'mapper' from disk name 2018-12-10 11:20:32 -08:00
Caleb Bassi
67e0fedbed Don't show Docker containers in Disk widget 2018-12-10 11:10:28 -08:00
Caleb Bassi
2043837fd8 Fix ignoring of loop disk devices 2018-12-09 22:04:43 -08:00
Caleb Bassi
8548428db4 Redirect stderr to logfile 2018-12-09 21:32:12 -08:00
Caleb Bassi
5de58c6964 Refactor logging in main 2018-12-09 21:19:09 -08:00
Caleb Bassi
7e9de44b3a Cleanup logic to trim 'dev' from disk partition 2018-12-09 21:11:03 -08:00
Caleb Bassi
b0bf304b67 Fix bug_report log path 2018-12-08 00:49:36 -08:00
Caleb Bassi
d712195a6e Fix panic on partition error
- Ignore partitions that cause errors, instead of panicking due to a nil
dereference
- Fixes errors caused by insufficient permissions of certain devices
2018-12-08 00:25:56 -08:00
Caleb Bassi
83bb121728 Update termui; Closes #77 2018-12-07 19:31:47 -08:00
Caleb Bassi
23fdf43936 Fix ps whitespace parsing errors 2018-12-07 12:33:46 -08:00
Caleb Bassi
44ed6e8752 Fix process name cropping 2018-12-07 10:42:23 -08:00
Caleb Bassi
1aa5eea24c Fix cpu usage percents panic 2018-12-05 20:05:57 -08:00
Caleb Bassi
b166e61427 Update bug report template 2018-12-05 14:51:33 -08:00
Caleb Bassi
d928072174 Update GitHub issue templates 2018-12-04 23:01:25 -08:00
Caleb Bassi
cfcb489862 Add more logging for Disk widget 2018-12-04 22:34:45 -08:00
Caleb Bassi
a3c934e86b Update gopsutil for #41 2018-12-04 21:53:53 -08:00
Caleb Bassi
c7171781c1 Log to file on errors
- Also recover from issue #12
- Make config path management more portable
2018-12-04 21:44:49 -08:00
Caleb Bassi
3dee8bc6f2 Fix 'gg' and 'dd' keypresses 2018-12-04 21:07:14 -08:00
Caleb Bassi
db57b40659 Refactor config directory into global variable 2018-12-04 15:22:41 -08:00