1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 21:29:42 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Copper-Eye
fae1c88fa2 add cpu temp display and optimize user check 2026-01-13 17:21:03 -04:00
Tw93
180037c22b feat(status): persist cat visibility preference
- Add loadCatHidden/saveCatHidden functions
- Save preference to ~/.config/mole/status_prefs
- Load preference on startup
2026-01-08 15:58:50 +08:00
Tw93
79a19ffbfe Go code formatting optimization 2026-01-08 15:26:35 +08:00
Tw93
64a580b3a7 feat: cat hide toggle and critical fixes (#272)
- Add 'k' key to hide/show cat in mo status
- Hand-crafted mirror frames for better left-walking animation
- Fix extra blank lines bug (strings.Lines → strings.Split)
- Fix battery power overflow (ParseInt for negative values)
- Optimize README Tips section (8 → 5 items)
2026-01-08 11:27:47 +08:00
Tw93
0d15177735 refactor: remove trimName and renderGPUCard functions 2026-01-06 21:07:51 +08:00
Tw93
c2c589ac81 Merge pull request #264 from alexandear-org/refactor/do-not-use-deprecated-funcs
refactor: replace deprecated `Start` with `Run`
2026-01-06 21:05:10 +08:00
Tw93
f69f53a607 refactor: complete Go modernization with strings.Lines() 2026-01-06 21:03:46 +08:00
Oleksandr Redko
158af1e1ba refactor: modernize Go code 2026-01-06 12:04:27 +02:00
Oleksandr Redko
80757ec074 refactor: replace deprecated Start with Run 2026-01-06 11:46:59 +02:00
Tw93
8cb1bc6fbe Merge pull request #236 from jimmystridh/fix/preserve-sort-state-after-uninstall
fix(ui): preserve sort state after uninstall
2026-01-03 13:57:28 +08:00
Tw93
da7bb2cde2 feat: add screen refresh rate display in status view 2026-01-03 13:33:49 +08:00
Tw93
87963f9e68 chore: auto format code 2026-01-02 11:59:49 +00:00
Tw93
57024f6417 Merge branch 'main' of github.com:tw93/Mole 2026-01-02 19:59:13 +08:00
Tw93
cc0cbef8d9 feat: display macOS battery capacity and cached memory, and refine status view presentation 2026-01-02 19:59:07 +08:00
Tw93
ecbe43fa35 chore: auto format code 2026-01-02 11:27:06 +00:00
Tw93
6c8c87bef6 refactor: remove Christmas seasonal feature 2026-01-02 19:26:22 +08:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
fe3f99e520 chore: auto format code 2025-12-22 11:31:14 +00:00
Tw93
f410f356df feat: Display system, adapter, and battery power metrics in status view 2025-12-22 19:30:35 +08:00
Tw93
87fdd26272 feat: Add git hooks to enforce universal binary builds and improve CPU metric calculation. 2025-12-22 16:30:22 +08:00
Tw93
ab0e7da434 chore: auto format code 2025-12-19 12:38:14 +00:00
Tw93
be43f68cc1 feat: enhance status UI with new styles and icons, refactor battery metrics with caching, and centralize Apple Silicon clean logic. 2025-12-19 20:34:23 +08:00
Tw93
5456d60876 chore: auto format code 2025-12-12 06:12:13 +00:00
Tw93
42634fbf3d Parallelize metric collection, enhance Touch ID script reliability with improved cleanup and backup, and add debug logging tests. 2025-12-12 14:11:37 +08:00
Tw93
558ee86d1f chore: auto format code 2025-12-12 02:50:46 +00:00
Tw93
f858d43b88 There is no blank line at the end of status 2025-12-12 10:49:57 +08:00
Tw93
058dd176da Fix the display issue of swap 2025-12-12 10:07:05 +08:00
Tw93
c37f022529 chore: auto format code 2025-12-11 06:24:53 +00:00
Tw93
b7518c9c6b Status supports temperature display 2025-12-11 14:24:19 +08:00
Tw93
33467be3d3 refactor(status): simplify temperature detection using ioreg battery sensor 2025-12-11 14:00:44 +08:00
Tw93
d7bf52a397 feat(status): add temperature display via osx-cpu-temp or powermetrics 2025-12-11 13:53:59 +08:00
Tw93
dd841891ad Test extensive coverage and improvement 2025-12-11 11:31:09 +08:00
github-actions[bot]
5b73e4ffad chore: auto format code 2025-12-10 03:53:17 +00:00
Tw93
ab0cabb25d 1.12.2 2025-12-10 10:43:10 +08:00
Tw93
161be5b951 Optimize the display effect 2025-12-10 10:42:33 +08:00
Tw93
def494b282 Christmas eggs 2025-12-10 10:27:45 +08:00
Tw93
4191fb1871 refactor: move GPU core count to header
- Display GPU cores in header: 'Apple M2 Pro (19 GPU cores)'
- Remove standalone GPU card to keep UI clean
- GPU info is more contextual when shown with CPU model
2025-12-08 19:14:01 +08:00
Tw93
3239e767a7 refactor: improve CPU/GPU display for better readability
- Keep showing top 3 busiest cores instead of all cores
- Simplify core info display: 'Load x.xx / x.xx / x.xx  (8P+4E)'
- Remove excessive comments in GPU card rendering
- Add missing sort import for core sorting logic

Co-authored-by: bsisduck <bluescreen@duck.com>
2025-12-08 19:09:51 +08:00
bsisduck
124a6975d4 perf: pre-compile regex patterns for GPU usage parsing 2025-12-07 18:39:23 +01:00
bsisduck
32ac98f06a Enhance CPU/GPU display for Apple Silicon
- Show all CPU cores instead of top 3 busiest
- Add P-CPU/E-CPU core grouping (Performance/Efficiency)
- Display GPU core count from system_profiler
- Add GPU usage meter via powermetrics (requires sudo)
- Show hint to run with sudo for GPU metrics

Tested on M2 Pro (6P + 4E cores, 16 GPU cores)
2025-12-07 17:37:30 +01:00
Tw93
3411bcf5e7 Optimize the compatibility display of status 2025-12-02 19:48:45 +08:00
Tw93
8cdf583d85 Uniform color specifications 2025-12-02 14:45:48 +08:00
Tw93
36a84e5211 Reconstruct the structure of go 2025-12-01 19:26:03 +08:00
Tw93
f60580d679 Make the analysis state more accurate 2025-11-24 11:48:37 +08:00
Tw93
21594ce681 Fix Intel CPU error 2025-11-23 20:38:37 +08:00
Tw93
a3de827fde Supports multi-disk detection 2025-11-23 20:20:46 +08:00
Tw93
54c30d6b60 Supports multi-disk detection 2025-11-23 20:20:35 +08:00
Tw93
c3edf3c625 Fix disk space check size error 2025-11-22 13:32:32 +08:00
Tw93
45d31e880c Add System Status Dashboard 2025-11-21 17:58:31 +08:00