コミットグラフ

113 コミット

作成者 SHA1 メッセージ 日付
守矢諏訪子 6ff7014bd3 POSIX 2023-08-27 15:31:59 +09:00
守矢諏訪子 6efae38cb3 OS部分を修正 2023-08-27 15:16:14 +09:00
守矢諏訪子 89b7ad439c 安定化 2023-08-27 14:44:13 +09:00
守矢諏訪子 e0ee70cba9 もっと最適化 2023-08-27 14:31:19 +09:00
守矢諏訪子 f6220f9fc4 ごめん 2023-08-27 14:18:37 +09:00
守矢諏訪子 db01f3469c get_gpuを最適化 2023-08-27 14:13:47 +09:00
守矢諏訪子 3f1f0f26e7 Wayland対応、無駄なコードを削除、色々の所はシンプル化 2023-08-27 13:41:42 +09:00
守矢諏訪子 032e920611 ロゴを追加、WMとパッケージを追加、GPUとホストを変更 2023-08-23 22:08:01 +09:00
Jason Goulet-Lipman d02a6323bb fixed bugs and added distros 2021-06-04 09:56:34 -04:00
Sridaran Thoniyil 964ca21454 Use scanf/sprintf approach rather than micromanaging buffers 2020-05-09 09:36:16 -04:00
Sridaran Thoniyil 13e205800a Revert "Optimize battery function by using length of strings for strcat"
This reverts commit 488294010d.
2020-05-09 09:18:46 -04:00
Sridaran Thoniyil c7022eb270 Revert "Get rid of the second buffer in battery function"
This reverts commit fd9f29ee65.
2020-05-09 09:18:32 -04:00
Sridaran Thoniyil 883c58aa3b Pass battery path directly to compiler 2020-05-08 20:50:54 -04:00
Sridaran Thoniyil fd9f29ee65 Get rid of the second buffer in battery function 2020-05-08 15:04:39 -04:00
Sridaran Thoniyil 488294010d Optimize battery function by using length of strings for strcat 2020-05-08 14:55:39 -04:00
Sridaran Thoniyil 5084173d50 Add remove_newline function that returns length of string 2020-05-08 14:47:28 -04:00
Sridaran Thoniyil 4007c41d4e Reduce file read sizes in get_battery_percentage 2020-05-08 14:28:19 -04:00
Sridaran Thoniyil 33285a9160 Include battery config and replace hardcoded refs 2020-05-08 12:38:27 -04:00
Sridaran Thoniyil 10a23a96b1 Add comment showing output of function 2020-05-08 12:38:27 -04:00
Sridaran Thoniyil aadf25faf4 Add % symbol and cut down # of strcat's 2020-05-08 12:38:27 -04:00
Sridaran Thoniyil 948f29c95a Add panic if battery cannot be opened 2020-05-08 12:38:27 -04:00
Sridaran Thoniyil 02e0d687ee Add battery status after percentage 2020-05-08 12:38:27 -04:00
Sridaran Thoniyil b361dbc040 Implement get_battery_percentage() function 2020-05-08 12:38:27 -04:00
sam-barr 03e7bd719e get_cpu returns empty string when model name isn't present 2020-05-03 19:40:52 -05:00
sam-barr cbbe1a7d19
Merge pull request #41 from dwzg/replace_substring
Add configurable way to replace strings of CPU and GPU name
2020-05-03 13:50:47 -05:00
sam-barr fdab2c5ff3 added fallback for get_host 2020-05-01 16:06:31 -05:00
dwzg a1c5ec76e0 Make get_terminal get the actual tty name
In tty, the variable $TERM simply contains the value "linux".
Make it that if "linux" is read from $TERM, it will get the actual name of the tty.

Tested in Arch and Debian tty
2020-05-01 21:29:28 +02:00
dwzg 61d9bffef0 Add string length check in replace_substring() 2020-05-01 17:56:01 +02:00
dwzg 6eba61457e Merge remote-tracking branch 'upstream/master' into replace_substring 2020-05-01 17:40:29 +02:00
dwzg b3c1ae5043 Improve code and fix a bug 2020-05-01 13:12:29 +02:00
dwzg 6b45321194 Add ability to switch CPU frequency unit to MHz for < 1 GHz 2020-05-01 13:08:51 +02:00
dwzg 02120c749b Return stolen newline 2020-04-28 22:27:25 +02:00
dwzg 6ea3250b6e Merge remote-tracking branch 'upstream/master' into replace_substring 2020-04-28 22:25:06 +02:00
dwzg d554a74458 Remove unnecessary newlines 2020-04-28 21:49:40 +02:00
dwzg de9a199bd7 Fix bug in frequency precision detection code 2020-04-28 21:46:26 +02:00
dwzg 30bf30dbd6 Merge remote-tracking branch 'upstream/master' into fallback_cpufreq 2020-04-28 21:38:24 +02:00
dwzg f8fd070b67 Fix check of wrong file pointer 2020-04-28 21:37:50 +02:00
sam-barr 19369f8e00 Allow for support for other package managers 2020-04-27 15:00:00 -05:00
sam-barr 55f3661ae4 Reductions to code size 2020-04-27 13:31:59 -05:00
sam-barr 034f3e18de Added get_disk_usage_home and get_disk_usage_root 2020-04-27 12:02:51 -05:00
sam-barr 9b4b085299 Trim leading whitespace from CPU and GPU
Fixes Issue #48
2020-04-27 09:58:37 -05:00
sam-barr e1e2f6d884
Undo previous commit 2020-04-27 00:14:51 -05:00
sam-barr f8db4fbae2 Trim spaces off the front of CPU and GPU 2020-04-26 23:51:48 -05:00
sam-barr 3aed0f5036 remove semicolons from config 2020-04-26 22:05:25 -05:00
dwzg ad0b6685f5 Add fallback method for CPU frequency 2020-04-26 00:56:32 +02:00
sam-barr b90bca5030
Merge pull request #43 from dwzg/dynamic_decimal_places
Make decimal places of CPU frequency dynamic
2020-04-25 09:37:58 -05:00
dwzg bed9efee83 Always show at least one decimal place for CPU frequency 2020-04-25 15:27:36 +02:00
dwzg 3827bb53f0 Make decimal places of CPU frequency dynamically use all significant places 2020-04-25 13:46:12 +02:00
Allis IO e979b841bf Resort to fallback method if we can't get the active window (Fixes #38) 2020-04-24 16:14:23 -04:00
dwzg 011d98ef0e Rename struct for string modification to reflect new function 2020-04-24 21:34:02 +02:00