Commit Graph

142 Commits

Author SHA1 Message Date
utox39
0beec60a8a fix(linux-kernel): fix kernel info parsing by trimming null bytes 2025-08-01 06:25:30 +02:00
utox39
7669da5ae8 refactor(formatters): remove unnecessary spaces in the formatted uptime string 2025-08-01 05:55:11 +02:00
utox39
1267a71250 feat: print the ascii art if the width of the terminal is greater than the left alignment (45) + the longest sys info string length 2025-08-01 04:10:00 +02:00
utox39
2aa90c04ff feat: add a utility function to get the length of the longest sys info string 2025-08-01 03:51:11 +02:00
utox39
f6d1c2dc72 feat: add adaptive printing based on terminal width 2025-07-31 01:47:12 +02:00
utox39
9df0845530 feat: add a utility function to retrieve the terminal size 2025-07-31 01:43:40 +02:00
utox39
5d7bdd8041 fix(linux-gpu): fix memory leak 2025-07-29 17:05:30 +02:00
utox39
785915d833 fix(linux-gpu): fix double free 2025-07-28 23:38:36 +02:00
utox39
f1bebb08e9 Merge pull request #6 from utox39/fix/fix-wrong-used-size
fix: fix wrong used size calculation
2025-07-27 14:52:37 +02:00
utox39
67a2e19ac4 fix: fix wrong used size calculation 2025-07-27 14:42:52 +02:00
utox39
2de5047eb7 fix(linux-cpu): fix FileNotFound error 2025-07-22 22:32:48 +02:00
utox39
28f94d87ed fix(terminal): fix typo 2025-07-17 15:37:31 +02:00
utox39
ec0e3ffd18 refactor(linux-gpu): add note and remove debug logs 2025-07-17 15:34:21 +02:00
utox39
f73b1be023 refactor(linux-gpu): use gpu name parser 2025-07-17 15:33:43 +02:00
utox39
3a5a268bbe feat(linux-gpu): parse gpu name 2025-07-17 02:25:26 +02:00
utox39
68cc541575 refactor(formatters): show the frequency and cores of the GPU only if one of the two is different from zero 2025-07-16 23:57:09 +02:00
utox39
01ad39c0b5 fix(config): fix the order of the enum 2025-07-15 02:19:56 +02:00
utox39
a18fd7ade8 style(ascii): add comments 2025-07-15 02:07:07 +02:00
utox39
707f94bd8b fix(formatters): fix wrong return type 2025-07-12 01:47:53 +02:00
utox39
de214a4a89 feat(formatters): add a tagged union to handle formatters with different signatures 2025-07-12 01:42:15 +02:00
utox39
5b63b30a4f fix(linux-gpu): fix wrong return type 2025-07-12 01:23:33 +02:00
utox39
9af26702cc fix(linux-gpu): fix ignored error union 2025-07-12 01:19:53 +02:00
utox39
c660fc903f feat(linux-gpu): handle multiple gpu 2025-07-11 21:54:17 +02:00
utox39
90abbcb1fd feat(linux-gpu): handle the return value of the pci_fill_info function 2025-07-11 16:27:07 +02:00
utox39
5faf60e53d refactor(formatters): remove gpu information detection behavior based on os 2025-07-11 14:21:37 +02:00
utox39
7993cab4df feat(linux): add gpu name info 2025-07-11 14:16:35 +02:00
utox39
cd40fe34d2 fix(formatters): correct printed total swap size from usage to actual size 2025-06-19 03:23:44 +02:00
utox39
7ac43a2694 refactor: remove todo 2025-06-13 19:17:37 +02:00
utox39
1865be9030 style: change hostname color 2025-05-30 21:56:58 +02:00
utox39
ff810a1656 feat: remove toStr methods 2025-05-30 18:01:00 +02:00
utox39
5019f177c1 refactor(config): add comment 2025-05-30 18:00:08 +02:00
utox39
d497f2e4b5 feat: add user configuration logic 2025-05-28 17:39:03 +02:00
utox39
ff90b826d5 feat: add formatters for user configuration 2025-05-28 17:35:46 +02:00
utox39
0019045acb feat: add user configuration logic 2025-05-28 17:35:13 +02:00
utox39
1a1d96c3a3 feat: add conversion of a hex color to rgb 2025-05-28 17:33:10 +02:00
utox39
2cf98c669c fix(macos): fix NoMatchingService error for intel macs when trying to retrieve gpu frequency 2025-05-16 13:45:23 +02:00
utox39
826d427d8a feat(macos): add intel cpu frequency info 2025-05-14 12:49:20 +02:00
utox39
5cf08dd50c fix: fix memory leak when zigfetch crashes 2025-05-13 14:50:27 +02:00
utox39
2a3ba3e230 refactor: add comments 2025-05-10 23:03:01 +02:00
utox39
551f452ffe refactor: add comments 2025-05-10 23:02:05 +02:00
utox39
06edcb123e refactor: zeroes the buf2 buffer 2025-05-10 21:14:15 +02:00
utox39
6fa4d8a699 feat: add colors 2025-05-10 20:13:15 +02:00
utox39
360fe05007 refactor(linux): change toStr string 2025-05-10 19:31:13 +02:00
utox39
c541e0588e refactor(macos): change toStr string 2025-05-10 19:30:04 +02:00
utox39
34ff7e827b refactor(macos): handle the EnvironmentVariableNotFound error for the env vars 'LANG' and 'TERM_PROGRAM' 2025-05-09 11:54:56 +02:00
utox39
55897d5f47 feat: add default ansi colors 2025-05-04 18:07:21 +02:00
utox39
4252a9f10a feat(linux): add toStr method to each struct 2025-05-01 19:07:09 +02:00
utox39
6fdde01ac9 feat: add ascii art 2025-05-01 18:34:53 +02:00
utox39
71518605c9 feat(macos): add toStr method to each struct 2025-05-01 17:35:24 +02:00
utox39
c86ba3f9dc fix(macos): fix memory leak 2025-04-18 14:26:18 +02:00