gpotter2
bd82ee004a
Fix ps: 'improper AIX field descriptor'
...
It appears that `ps` doesn't support using custom separators (e.g. here: '|') on all OSes. This replaces it with hardcoded lengths when known (cpu, mem, etc...).
E.G. on a debian bookworm machine this is what it returns:
```
ps -eo '%p|%c|%C|' -o "%mem" -o '|%a' --sort=-%cpu
error: improper AIX field descriptor
```
2022-12-31 00:38:55 +01:00
Florian Lindner
6e7c1dc4be
Make the CMD_slim command even slimmer.
...
Does not use pipe redirection, as a result the shell is not
required anymore.
2021-09-15 10:04:18 +02:00
streetturtle
270665bca3
[cpu] partial fix for #254 - extract cpu background as a parameter
2021-04-18 20:56:31 -04:00
atopion
ef0c35996f
Fixed the errors from luacheck.
2021-03-23 12:35:53 +01:00
atopion
32ae259b07
Seperated the widget graph command from the
...
command that is run while the popup is visible, therefore improved
performance while the popup is invisible.
2021-03-22 20:33:42 +01:00
streetturtle
b730c553c1
Revert "[cpu] hide popup on right click"
...
This reverts commit 00a0eae4
2020-12-26 14:54:42 -05:00
streetturtle
00a0eae45e
[cpu] hide popup on right click
2020-12-26 14:44:00 -05:00
streetturtle
ed2b256407
fix more warnings
2020-12-06 14:47:40 -05:00
streetturtle
d9eb3885ee
trigger build action on a branch
2020-12-02 22:04:23 -05:00
streetturtle
8ad454de38
[cpu] use sh instead of bash
2020-12-02 09:05:10 -05:00
Wesley Gahr
80a3fbb6f9
Removing the cat in favour of reading the file directly from grep
2020-09-27 04:32:44 +02:00
Wesley Gahr
7966f52057
Removing cat into grep, reading file directly
2020-09-27 04:16:46 +02:00
Chris Bruce
a2eddcdfcd
Add widget timeouts
2020-09-19 01:08:15 -07:00
streetturtle
c3f7cde3ea
Adjust column alignment
2020-06-24 21:02:36 -04:00
streetturtle
c4310043c7
Few improvements
...
- fix #149 - truncate long process info
- fix #148 - add button to kill the process
- refactoring
2020-05-27 14:19:03 -04:00
streetturtle
7688de1642
remove unused comment
2020-04-28 20:45:29 -04:00
streetturtle
224c7a6acb
[cpu] use margins instead of spacing in process rows
2020-04-03 16:25:01 -04:00
streetturtle
249ac4d688
use pipe(|) to split columns of the ps command + code cleanup
2020-02-16 13:54:45 -05:00
streetturtle
326d11e95b
Improve cpu widget
2020-02-07 07:54:03 -05:00
streetturtle
8839e853df
Fix missing cmd name in cpu widget
2020-02-05 21:11:27 -05:00
streetturtle
facfd47bd1
Add list of processes to cpu widget
2020-02-03 22:40:47 -05:00
streetturtle
9af937bd34
add popup to cpu widget with cpu load bars
2020-02-02 22:28:13 -05:00
streetturtle
712d11568a
externalize config for cpu widget
2019-06-02 22:05:37 -04:00
streetturtle
94252c405a
use gradient over cpu-widget, from main color to red
2019-03-18 20:27:08 -04:00
streetturtle
150b950cc3
refactor cpu widget
2018-10-08 11:20:59 -04:00
Klimov Nikolay
8c3f67920b
Calling bash in watch command
2018-09-20 19:20:27 +03:00
streetturtle
fc44a84708
make bg transparent
2018-01-28 17:01:04 -05:00
pmakhov
1aefb814ef
add header
2017-12-15 09:11:44 -05:00
pmakhov
d94e05bda0
make cpu widget local
2017-12-11 17:08:40 -05:00
pmakhov
8b4c5e7fa0
lift cpu_widget a bit
2017-10-12 20:37:01 -04:00
pmakhov
7fab9b2959
add widget in local scope
2017-09-28 09:42:38 -04:00
pmakhov
5facbc5e2b
cpu widget
2017-09-27 19:45:25 -04:00