Commit Graph
1983 Commits
Author SHA1 Message Date
Clement Tsang 7f7a328977 other: refresh cpu for sysinfo users if proc is used (#991) 2023-01-20 00:07:52 -05:00
Clement Tsang 22e386a38c other: re-enable disk usage split, update help menu (#963)
* Revert "other: revert disk usage change for now (#962)"

This reverts commit d3661c2320.

* some cleanup

* update help menu

* update screenshot

* update changelog wording

* Remove redundant newlines

* Use type system to ensure help constants match in size
2023-01-19 05:40:34 -05:00
allcontributors[bot]andallcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 0a83456adb docs: add felipesuri as a contributor for doc (#989)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-01-18 16:23:23 -05:00
felipesuri 2de49c5042 docs: Update ArchLinux install command (#988)
It is removing `-yu`, because it updates the system before downloading the package.
ArchLinux is updated constantly and can crash the system, so it's better just to install the package.
2023-01-18 16:22:58 -05:00
Clement Tsang 04c1366af5 other: bump edition to 2021 (#987) 2023-01-18 02:26:30 -05:00
Clement Tsang ebaf10936a other: fix missing memory feature for heim on linux (#986) 2023-01-18 01:52:55 -05:00
Clement Tsang 639c93b4c8 other: switch to windows-rs for process killing (#985) 2023-01-18 01:43:08 -05:00
Clement Tsang 4b392c96f7 docs: add note about individual autocompletion files 2023-01-17 00:58:41 -05:00
Clement Tsang 50c95997f9 docs: update changelog and all contrib sections (#984) 2023-01-15 12:26:15 -05:00
allcontributors[bot]andallcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 7fdc927aff docs: add NitrogenDev as a contributor for code (#983)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-01-15 12:08:18 -05:00
Rareș ConstantinRaresCon <RaresCon>NitrogenDev
f8db3403af other: Dynamic battery widget (#975)
* Added dynamic battery widget

For bottom to know that there are no batteries on the system,
I added the battery::Manager to the options.rs file because
here is the first moment bottom verifies battery configuration
by reading the config file, which may or may not contain the
battery field, but for a better UX, it doesn't matter what bottom
finds in the config file now, if it doesn't retrieve battery data,
it just ignores the battery widget all together.
If needed, it can be adjusted so that if the config file contains
the battery field, it will still show the widget.

* CFG guarding for BATTERY module

I guarded the options.rs in two places for battery module that can be missing in the feature list.

Co-authored-by: RaresCon <RaresCon>
Co-authored-by: NitrogenDev <44950964+NitrogenDev@users.noreply.github.com>
2023-01-15 12:06:42 -05:00
Clement Tsang 571ec08291 other: skip battery duration draw if unknown (#974)
* other: skip battery duration draw if unknown

* increase others

* update changelog
2023-01-15 12:06:19 -05:00
Clement Tsang 316891d476 deps: update more dependencies as of 2022-01-14 (#982) 2023-01-14 22:36:30 -05:00
Clement Tsang 8490ff93ea deps: update regex to 1.7.1 (#981) 2023-01-14 21:19:10 -05:00
Clement Tsang 80ef86e12a deps: updates unicode deps to support unicode 15 (#980) 2023-01-14 21:05:58 -05:00
Clement Tsang f712aaffa1 deps: updates some minor deps as of 2023-01-14 (#979)
Updates:
- log
- serde
- itertools
2023-01-14 19:13:31 -05:00
Clement Tsang 9292dbd376 deps: update indexmap to 1.9.2 (#978) 2023-01-14 19:03:49 -05:00
Clement Tsang 719c35ae3b deps: update procfs to 0.14.2 (#977) 2023-01-14 18:37:29 -05:00
Clement Tsang e112e1231e ci: add schedule to clear PR caches (#973) 2023-01-13 01:45:11 -05:00
Clement Tsang 9a696122c7 ci: try removing cache from build workflow (#972) 2023-01-13 01:15:10 -05:00
Clement Tsang 6e2b276836 ci: remove git hash and nightly tag from deb file name (#970)
* ci: switch deb nightly builds back to the same string as normal

Easier to stay consistent, I guess.

* disable cache for cargo deb

* reenable cache

* nvm
2023-01-12 06:23:36 -05:00
ClementTsang f415fb08bc other: bump up version in Cargo.toml to 0.7.2 2023-01-12 05:20:22 -05:00
Clement Tsang fffeb206de ci: follow .deb naming conventions (#969)
Change the .deb file generation back to following standard naming conventions.
2023-01-12 03:41:15 -05:00
Clement Tsang 48cd29f2dd docs: minor update of Windows installation docs (#966)
* docs: minor update of Windows installation docs

* Update README.md
2023-01-09 17:48:08 -05:00
Clement Tsang 57ce57b66f docs: fix debian/ubuntu download links (#965) 2023-01-07 16:53:56 -05:00
Clement Tsang 768ec9cb36 docs: update screenshots for 0.7.1 (#964) 0.7.1 2023-01-05 23:45:17 -05:00
Clement Tsang 7794c0e43a uptick: 0.7.1 (#959)
* uptick: 0.7.1

* update changelog
2023-01-05 23:30:05 -05:00
Clement Tsang d3661c2320 other: revert disk usage change for now (#962)
This is a temp change, this commit will be reverted after 0.7.1 comes out.
2023-01-05 23:22:45 -05:00
Clement Tsang d62bdc5cab ci: fix CI concurrency grouping (#961)
Seems like we want `github.ref`, not `github.event.ref`, which is
blank.
2023-01-05 21:42:41 -05:00
Clement Tsang 9303c1b52f bug: further shrink battery time-to text (#960) 2023-01-05 21:36:45 -05:00
Clement Tsang 33afeb68c3 docs: make stable docs the default (#958) 2023-01-05 21:08:17 -05:00
Clement Tsang 2dfb8c490f ci: add timeout to build workflow caching (#957)
* ci: add timeout and skip for cache in build workflow

* use for all
2023-01-05 20:38:49 -05:00
Clement Tsang cb08b19646 docs: shrink GIF caption text 2023-01-04 02:38:02 -05:00
Clement Tsang 32d816fa8f docs: update changelog 2023-01-04 02:34:17 -05:00
Clement Tsang 8f9097b90c bug: fix CPU 'all' label missing on small sizes (#953)
Fixes the "All" label being missing on small windows.
2023-01-04 01:55:46 -05:00
Clement Tsang 0093a45be9 bug: reduce battery text cutoff in small windows (#952)
Fixes an issue where small windows would cause the battery to-X time to be cut off.
2023-01-04 01:27:15 -05:00
Clement Tsang 21f1503277 docs: update note on unofficial FreeBSD support 2023-01-02 15:45:30 -05:00
Clement Tsang 7c53f088c3 ci: add build hash to nightly builds for version (#951)
This adds the build hash to the btm -V output for nightly builds, making it easier to troubleshoot when someone might have obtained a nightly build, and what commit it corresponds to.
2023-01-02 15:18:05 -05:00
Clement Tsang a56e7f6cc9 feature: split usage into usage percentage and value (#950)
Denotes both usage and usage percentage. This also redoes the calculation for percentage to be based on the sum of avail + used, rather than on total, as otherwise we get potentially confusing percentages.
2023-01-01 05:08:04 -05:00
Clement Tsang d7e9fd6be0 other: run rustfmt (#949) 2023-01-01 04:35:08 -05:00
Clement Tsang 0adefababf ci: use a better way of getting branch from tagged builds for CirrusCI (#948)
* ci: use a better way of getting branch from tagged builds for CirrusCI

* add a bit more logging
2023-01-01 03:18:47 -05:00
imgbot[bot]andImgBotApp 543fd6c047 docs: [ImgBot] Optimize images (#947)
/assets/demo.gif -- 3,692.42kb -> 3,226.92kb (12.61%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-01-01 00:59:43 -05:00
Clement Tsang a4b5e38fd2 ci: update action-gh-release dependency (#946) 2023-01-01 00:23:11 -05:00
Clement Tsang a956d9e9a1 ci: remove typo in chocolatey template (#944) 2022-12-31 22:08:52 -05:00
Clement Tsang 4d5a58c3ec ci: default to master branch on tag release (#943) 0.7.0 2022-12-31 21:50:17 -05:00
Clement Tsang 0fa11fb5c5 ci: disable cache for cross release gen (#942) 2022-12-31 21:14:18 -05:00
Clement Tsang b7bf57481f docs: update demo to 0.7.0 (#941)
* docs: update demo to 0.7.0

* update again
2022-12-31 20:47:33 -05:00
Clement Tsang e654322743 docs: update debian install instructions regarding ARM 2022-12-31 17:52:31 -05:00
Clement Tsang 46884d48f0 uptick: 0.7.0 (#940) 2022-12-31 17:50:20 -05:00
Clement Tsang 3b5774117f bug: fix search scrolling with wider Unicode characters. (#938)
This should help make search scrolling more reliable larger Unicode characters like CJK/flag characters.
2022-12-31 05:51:59 -05:00