Commit Graph

11 Commits

Author SHA1 Message Date
Steffen Winter
10086d6009 feat: add cli option to dump default config
Closes: https://github.com/aristocratos/btop/issues/1394
2025-12-23 13:54:22 +01:00
Jakob P. Liljenberg
0d08551b41 Merge pull request #1357 from adeci/themes-dir 2025-12-02 22:15:13 +01:00
Yinghao
69c2cda0dd fix: don't over-/underflow when parsing --update argument (#1359) 2025-11-11 09:26:26 +00:00
adeci
04c3a938a8 feat: add --themes-dir flag 2025-11-10 10:04:49 +07:00
Steffen Winter
064aeb9de2 refactor: use std::expected to indicate failure 2025-10-26 13:24:57 +01:00
Steffen Winter
1b0b89212e Add command line option to set an inital filter
This will spawn btop with a filter already set, which can be edited and
also deleted as usual.

Beware that the filter will ALWAYS also match btop itself, since the
--filter argument on the command line will match.

Closes: https://github.com/aristocratos/btop/issues/883
2025-06-07 13:02:15 +00:00
Steffen Winter
d429bcfe82 Exit gracefully if integer conversion in CLI parser fails 2025-06-01 22:35:38 +00:00
Steffen Winter
6d4bcacfee Make 100ms the minimal refresh rate
Closes: https://github.com/aristocratos/btop/issues/1171
2025-06-01 22:35:38 +00:00
Tom Webber
fd35ac1b61 Update flags in help message and README
Co-authored-by: Steffen Winter <steffen.winter@proton.me>
2025-05-01 17:47:30 +00:00
Steffen Winter
6cab38f097 Fix various typos in code, themes and workflows 2025-04-24 19:39:27 +00:00
Steffen Winter
de0d295f6f Move the config parser in it's own module
Return a struct with options instead of settings globals.
2025-04-23 16:48:02 +00:00