slstatus, branch HEADstatus monitor
8723e8b8c69c08bae8abe02ea1f4a49758b8bdfc2025-07-24T20:41:25Z2025-07-24T20:41:25Zmore concise memory calculation on Linuxdrkhshme@drkhsh.atcommit 8723e8b8c69c08bae8abe02ea1f4a49758b8bdfc
parent 6eb7887853537ac0cf91517019328e038382bdd8
Author: drkhsh <me@drkhsh.at>
Date: Thu, 24 Jul 2025 22:41:25 +0200
more concise memory calculation on Linux
more flexible parsing for /proc/meminfo to take shared and reclaimable
memory into account. this matches the output with free(1).
additionally this could fix some corner cases, as the order of fields in
/proc/meminfo is not strictly defined.
slstatus:
percent 81% free 2.5 Gi total 23.4 Gi used 19.0 Gi
free(1):
total used free shared buff/cache available
Mem: 23Gi 19Gi 2.5Gi 1.3Gi 3.2Gi 3.6Gi
6eb7887853537ac0cf91517019328e038382bdd82025-07-16T16:21:41Z2025-07-16T16:21:43Zfix name confusion in LICENSEdrkhshme@drkhsh.atcommit 6eb7887853537ac0cf91517019328e038382bdd8
parent f5c4e634cdb19eca298491ad6f071ad09204060f
Author: drkhsh <me@drkhsh.at>
Date: Wed, 16 Jul 2025 18:21:41 +0200
fix name confusion in LICENSE
thanks for reporting, dsp
f5c4e634cdb19eca298491ad6f071ad09204060f2025-04-30T02:00:57Z2025-04-30T02:00:57Zbump version to 1.1drkhshme@drkhsh.atcommit f5c4e634cdb19eca298491ad6f071ad09204060f
parent 3db023f13b85de9cd63096d17b025a6cce39ef88
Author: drkhsh <me@drkhsh.at>
Date: Wed, 30 Apr 2025 04:00:57 +0200
bump version to 1.1
3db023f13b85de9cd63096d17b025a6cce39ef882025-04-30T01:59:49Z2025-04-30T02:00:53Zrefactor wifi on linuxdrkhshme@drkhsh.atcommit 3db023f13b85de9cd63096d17b025a6cce39ef88
parent a0f960c16f3ccfb01deaaa04556f1a21aa4ac091
Author: drkhsh <me@drkhsh.at>
Date: Wed, 30 Apr 2025 03:59:49 +0200
refactor wifi on linux
a0f960c16f3ccfb01deaaa04556f1a21aa4ac0912025-04-30T01:12:28Z2025-04-30T01:13:41Zupdate LICENSE and READMEdrkhshme@drkhsh.atcommit a0f960c16f3ccfb01deaaa04556f1a21aa4ac091
parent 57a7653632ba15aa0fdd8cbe1831363e4247996d
Author: drkhsh <me@drkhsh.at>
Date: Wed, 30 Apr 2025 03:12:28 +0200
update LICENSE and README
57a7653632ba15aa0fdd8cbe1831363e4247996d2025-04-30T01:11:53Z2025-04-30T01:11:53Zfix compiler warning with newer gccdrkhshme@drkhsh.atcommit 57a7653632ba15aa0fdd8cbe1831363e4247996d
parent af508f0b4cf88b1921c59fdf5dd1a98c08223fa5
Author: drkhsh <me@drkhsh.at>
Date: Wed, 30 Apr 2025 03:11:53 +0200
fix compiler warning with newer gcc
af508f0b4cf88b1921c59fdf5dd1a98c08223fa52024-03-15T21:20:54Z2025-04-30T01:09:55Zadd 'up' for whether a interface is up or downsewnsewn@disroot.orgcommit af508f0b4cf88b1921c59fdf5dd1a98c08223fa5
parent b6267f7d0bedf5789206adf21f33cfe1a872289c
Author: sewn <sewn@disroot.org>
Date: Sat, 16 Mar 2024 00:20:54 +0300
add 'up' for whether a interface is up or down
b6267f7d0bedf5789206adf21f33cfe1a872289c2024-07-07T06:54:21Z2025-04-30T01:08:02ZAdd underscore to separators in strtok() call in keymap.cAleirann@disroot.orgcommit b6267f7d0bedf5789206adf21f33cfe1a872289c
parent 0b00c0319c7b4a941b40aa8709bb4c478f9a9b1f
Author: Al <eirann@disroot.org>
Date: Sun, 7 Jul 2024 09:54:21 +0300
Add underscore to separators in strtok() call in keymap.c
0b00c0319c7b4a941b40aa8709bb4c478f9a9b1f2024-07-30T20:15:44Z2025-04-30T00:59:42Zwifi: switch to nl80211 interfaceJoakim Sindholtopensource@zhasha.comcommit 0b00c0319c7b4a941b40aa8709bb4c478f9a9b1f
parent f68f49273e70b3767b30c549dda04ddd4d25fc91
Author: Joakim Sindholt <opensource@zhasha.com>
Date: Tue, 30 Jul 2024 22:15:44 +0200
wifi: switch to nl80211 interface
f68f49273e70b3767b30c549dda04ddd4d25fc912023-07-04T18:47:18Z2023-07-04T18:47:18ZRelease stable 1.0 versiondrkhshme@drkhsh.atcommit f68f49273e70b3767b30c549dda04ddd4d25fc91
parent 86c7a84c2397e5bbdcebe2a06bada7ee48f0d480
Author: drkhsh <me@drkhsh.at>
Date: Tue, 4 Jul 2023 20:47:18 +0200
Release stable 1.0 version
86c7a84c2397e5bbdcebe2a06bada7ee48f0d4802023-05-15T17:14:52Z2023-05-15T17:16:12ZAdd back version flag to prepare for releasedrkhshme@drkhsh.atcommit 86c7a84c2397e5bbdcebe2a06bada7ee48f0d480
parent 483169021ba996f59a97b4e3b74cee7e43d6ab6f
Author: drkhsh <me@drkhsh.at>
Date: Mon, 15 May 2023 19:14:52 +0200
Add back version flag to prepare for release
483169021ba996f59a97b4e3b74cee7e43d6ab6f2023-05-15T17:11:39Z2023-05-15T17:11:39ZFix release tarball to prepare for releasedrkhshme@drkhsh.atcommit 483169021ba996f59a97b4e3b74cee7e43d6ab6f
parent e0c155e9ab8e8e0cf0ae09dc8cd0a02a460628cf
Author: drkhsh <me@drkhsh.at>
Date: Mon, 15 May 2023 19:11:39 +0200
Fix release tarball to prepare for release
Correctly copies components to sub-directory, adds all required files
e0c155e9ab8e8e0cf0ae09dc8cd0a02a460628cf2023-04-23T21:48:47Z2023-04-23T21:48:47ZREADME: Sync description from manpagedrkhshme@drkhsh.atcommit e0c155e9ab8e8e0cf0ae09dc8cd0a02a460628cf
parent ee586cfea9c328932255512077882fa8194b50c2
Author: drkhsh <me@drkhsh.at>
Date: Sun, 23 Apr 2023 23:48:47 +0200
README: Sync description from manpage
ee586cfea9c328932255512077882fa8194b50c22023-04-23T21:43:14Z2023-04-23T21:43:14Zmanpage: Quality improvementsdrkhshme@drkhsh.atcommit ee586cfea9c328932255512077882fa8194b50c2
parent c919def84fd4f52f501548e5f7705b9d56dd1459
Author: drkhsh <me@drkhsh.at>
Date: Sun, 23 Apr 2023 23:43:14 +0200
manpage: Quality improvements
Adds signals section to the manpage and generally improves contents and
wording
c919def84fd4f52f501548e5f7705b9d56dd14592022-12-19T21:03:59Z2022-12-19T21:04:07ZMore LICENSE updatesdrkhshme@drkhsh.atcommit c919def84fd4f52f501548e5f7705b9d56dd1459
parent 034c591a95feec885208266a6849c04289a9c4a5
Author: drkhsh <me@drkhsh.at>
Date: Mon, 19 Dec 2022 22:03:59 +0100
More LICENSE updates
Regarding 305aa5138add5971456c880219fe859cd4189624
034c591a95feec885208266a6849c04289a9c4a52022-12-19T18:26:57Z2022-12-19T18:26:57ZRevert "config.mk: Fix PREFIX assignment"drkhshme@drkhsh.atcommit 034c591a95feec885208266a6849c04289a9c4a5
parent 305aa5138add5971456c880219fe859cd4189624
Author: drkhsh <me@drkhsh.at>
Date: Mon, 19 Dec 2022 19:26:57 +0100
Revert "config.mk: Fix PREFIX assignment"
"?=" is not POSIX, packagers should use "make PREFIX=".
This reverts commit c225c4315161a992b9e44dd990d083ee57f7f713.
305aa5138add5971456c880219fe859cd41896242022-12-19T18:26:15Z2022-12-19T18:26:18ZUpdate LICENSEdrkhshme@drkhsh.atcommit 305aa5138add5971456c880219fe859cd4189624
parent 1ae616190cb3f88221571343a284fdf9f55b683f
Author: drkhsh <me@drkhsh.at>
Date: Mon, 19 Dec 2022 19:26:15 +0100
Update LICENSE
Real names should be used if possible, as the license is legally binding
1ae616190cb3f88221571343a284fdf9f55b683f2022-12-19T01:40:00Z2022-12-19T01:44:21ZUpdate LICENSEdrkhshme@drkhsh.atcommit 1ae616190cb3f88221571343a284fdf9f55b683f
parent 581d937e51d10e6e74868d2397081b12952eae07
Author: drkhsh <me@drkhsh.at>
Date: Mon, 19 Dec 2022 02:40:00 +0100
Update LICENSE
581d937e51d10e6e74868d2397081b12952eae072022-10-28T15:49:05Z2022-12-19T01:44:21Zentropy: Use Unicode escape sequence in stringplanet36planet36@users.noreply.github.comcommit 581d937e51d10e6e74868d2397081b12952eae07
parent c225c4315161a992b9e44dd990d083ee57f7f713
Author: planet36 <planet36@users.noreply.github.com>
Date: Fri, 28 Oct 2022 10:49:05 -0500
entropy: Use Unicode escape sequence in string
Signed-off-by: drkhsh <me@drkhsh.at>
c225c4315161a992b9e44dd990d083ee57f7f7132021-05-26T18:29:32Z2022-12-19T01:44:21Zconfig.mk: Fix PREFIX assignmentplanet36planet36@users.noreply.github.comcommit c225c4315161a992b9e44dd990d083ee57f7f713
parent 984f45719e8ac9f4451c2d009fb34e28afdfbdb6
Author: planet36 <planet36@users.noreply.github.com>
Date: Wed, 26 May 2021 14:29:32 -0400
config.mk: Fix PREFIX assignment
Signed-off-by: drkhsh <me@drkhsh.at>
984f45719e8ac9f4451c2d009fb34e28afdfbdb62021-05-12T02:45:34Z2022-12-19T01:44:21Znum_files: opendir() returns a directory streamplanet36planet36@users.noreply.github.comcommit 984f45719e8ac9f4451c2d009fb34e28afdfbdb6
parent c432c981df97f786c683435a4a06bd58fc9a7b18
Author: planet36 <planet36@users.noreply.github.com>
Date: Tue, 11 May 2021 22:45:34 -0400
num_files: opendir() returns a directory stream
opendir() returns a directory stream, not a file descriptor
Co-authored-by: drkhsh <me@drkhsh.at>
Signed-off-by: drkhsh <me@drkhsh.at>
c432c981df97f786c683435a4a06bd58fc9a7b182021-04-13T16:43:18Z2022-12-19T01:44:21ZMake LEN macro consistent with other suckless reposplanet36planet36@users.noreply.github.comcommit c432c981df97f786c683435a4a06bd58fc9a7b18
parent 87c3dd2c36e6d1df577e87fd4d73970fe58a3007
Author: planet36 <planet36@users.noreply.github.com>
Date: Tue, 13 Apr 2021 12:43:18 -0400
Make LEN macro consistent with other suckless repos
Signed-off-by: drkhsh <me@drkhsh.at>
87c3dd2c36e6d1df577e87fd4d73970fe58a30072021-04-06T16:48:18Z2022-12-19T01:44:21Zbattery: Consistent naming for capacity percentageplanet36planet36@users.noreply.github.comcommit 87c3dd2c36e6d1df577e87fd4d73970fe58a3007
parent d77f216faea5566ba8ebdbf1456c5e6806d2eeb5
Author: planet36 <planet36@users.noreply.github.com>
Date: Tue, 6 Apr 2021 12:48:18 -0400
battery: Consistent naming for capacity percentage
https://www.kernel.org/doc/html/latest/power/power_supply_class.html
Co-authored-by: drkhsh <me@drkhsh.at>
Signed-off-by: drkhsh <me@drkhsh.at>
d77f216faea5566ba8ebdbf1456c5e6806d2eeb52021-04-02T18:11:00Z2022-12-19T01:44:21ZSort functions by nameplanet36planet36@users.noreply.github.comcommit d77f216faea5566ba8ebdbf1456c5e6806d2eeb5
parent 40f13be551f0e1a0eaee07dcb64b3b6ab3a68dd9
Author: planet36 <planet36@users.noreply.github.com>
Date: Fri, 2 Apr 2021 14:11:00 -0400
Sort functions by name
Co-authored-by: drkhsh <me@drkhsh.at>
Signed-off-by: drkhsh <me@drkhsh.at>
40f13be551f0e1a0eaee07dcb64b3b6ab3a68dd92021-03-25T17:05:48Z2022-12-19T01:44:21Zuptime: Use sizeof instead of repeating the sizeplanet36planet36@users.noreply.github.comcommit 40f13be551f0e1a0eaee07dcb64b3b6ab3a68dd9
parent c75cb9ad7af55d16b864b1059fbc1aaa9d9874de
Author: planet36 <planet36@users.noreply.github.com>
Date: Thu, 25 Mar 2021 13:05:48 -0400
uptime: Use sizeof instead of repeating the size
Signed-off-by: drkhsh <me@drkhsh.at>
c75cb9ad7af55d16b864b1059fbc1aaa9d9874de2021-03-05T19:35:24Z2022-12-19T01:44:21Zkeymap: Variable "layout" should be constplanet36planet36@users.noreply.github.comcommit c75cb9ad7af55d16b864b1059fbc1aaa9d9874de
parent 89f8476110c7bdfb70528da79be328ba0f6490be
Author: planet36 <planet36@users.noreply.github.com>
Date: Fri, 5 Mar 2021 14:35:24 -0500
keymap: Variable "layout" should be const
Signed-off-by: drkhsh <me@drkhsh.at>
89f8476110c7bdfb70528da79be328ba0f6490be2021-03-05T19:28:15Z2022-12-19T01:44:21Zdisk: Cast fsblkcnt_t to double instead of floatplanet36planet36@users.noreply.github.comcommit 89f8476110c7bdfb70528da79be328ba0f6490be
parent 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e
Author: planet36 <planet36@users.noreply.github.com>
Date: Fri, 5 Mar 2021 14:28:15 -0500
disk: Cast fsblkcnt_t to double instead of float
Signed-off-by: drkhsh <me@drkhsh.at>
0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e2021-03-05T19:20:29Z2022-12-19T01:44:21Zverr: Remove special "usage" caseplanet36planet36@users.noreply.github.comcommit 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e
parent e22d447684d8b42731871de5b732669a822ddd1a
Author: planet36 <planet36@users.noreply.github.com>
Date: Fri, 5 Mar 2021 14:20:29 -0500
verr: Remove special "usage" case
In function verr, remove special case for "usage"
string
Co-authored-by: drkhsh <me@drkhsh.at>
Signed-off-by: drkhsh <me@drkhsh.at>
e22d447684d8b42731871de5b732669a822ddd1a2021-03-05T19:19:49Z2022-12-19T01:44:21Zconfig.def.h: Remove stray double quote in commentplanet36planet36@users.noreply.github.comcommit e22d447684d8b42731871de5b732669a822ddd1a
parent 173b03417d2a21a646c3d0d3d05ba158f9427139
Author: planet36 <planet36@users.noreply.github.com>
Date: Fri, 5 Mar 2021 14:19:49 -0500
config.def.h: Remove stray double quote in comment
Signed-off-by: drkhsh <me@drkhsh.at>
173b03417d2a21a646c3d0d3d05ba158f94271392022-12-19T01:41:19Z2022-12-19T01:44:21ZUpdate READMEdrkhshme@drkhsh.atcommit 173b03417d2a21a646c3d0d3d05ba158f9427139
parent 982eb223a055db01bf03f44bf0203705ca7153e8
Author: drkhsh <me@drkhsh.at>
Date: Mon, 19 Dec 2022 02:41:19 +0100
Update README
982eb223a055db01bf03f44bf0203705ca7153e82022-11-27T04:11:01Z2022-12-01T08:04:32Zbattery: Fix remaining on LinuxPatrick Iacobiacobp@oregonstate.educommit 982eb223a055db01bf03f44bf0203705ca7153e8
parent 57c6e7340d16b14d61f9e3361ca4940f53dfcafa
Author: Patrick Iacob <iacobp@oregonstate.edu>
Date: Sat, 26 Nov 2022 20:11:01 -0800
battery: Fix remaining on Linux
The current version displays the remaining time as 'n/a'.
Fixes this regression introduced in 69b2487650782f135db76078c4a7fb841cb936ac
where current_now and power_now were incorrectly replaced with current and
power when they were moved to a macro.
57c6e7340d16b14d61f9e3361ca4940f53dfcafa2022-11-23T22:59:51Z2022-11-23T23:01:52ZNew component: catdrkhshme@drkhsh.atcommit 57c6e7340d16b14d61f9e3361ca4940f53dfcafa
parent 4bd78c94ba90d67a268c092231b85037c94a339a
Author: drkhsh <me@drkhsh.at>
Date: Wed, 23 Nov 2022 23:59:51 +0100
New component: cat
Generically reads an arbitrary file natively.
Saves a few layers of execution in comparison to using `run_command`
with an argument like `cat ./file`.
4bd78c94ba90d67a268c092231b85037c94a339a2022-10-27T22:47:06Z2022-10-27T23:03:56ZREADME: Add note about FreeBSD sndio depdrkhshme@drkhsh.atcommit 4bd78c94ba90d67a268c092231b85037c94a339a
parent cce2e5ecb05cdf68831fbf44c5ab90f4e16364b3
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:47:06 +0200
README: Add note about FreeBSD sndio dep
cce2e5ecb05cdf68831fbf44c5ab90f4e16364b32022-10-27T22:21:02Z2022-10-27T23:03:46Zradical re-formatting 3/3: Error checksdrkhshme@drkhsh.atcommit cce2e5ecb05cdf68831fbf44c5ab90f4e16364b3
parent 3251e911878b78b0aad8fc09c782f8d81c878f75
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:21:02 +0200
radical re-formatting 3/3: Error checks
Check for `< 0` instead of `== -1`.
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
3251e911878b78b0aad8fc09c782f8d81c878f752022-10-27T22:51:34Z2022-10-27T23:03:38Zradical re-formatting 2/3: Fix blocksdrkhshme@drkhsh.atcommit 3251e911878b78b0aad8fc09c782f8d81c878f75
parent 2104dc362ca7336d98499a5945ea2a3d371f7568
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:51:34 +0200
radical re-formatting 2/3: Fix blocks
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
2104dc362ca7336d98499a5945ea2a3d371f75682022-10-27T22:49:31Z2022-10-27T23:03:31Zradical re-formatting 1/3: Fix spacingdrkhshme@drkhsh.atcommit 2104dc362ca7336d98499a5945ea2a3d371f7568
parent 0696635bcbad06770cce7d5a4c9e8e4d76868307
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:49:31 +0200
radical re-formatting 1/3: Fix spacing
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
0696635bcbad06770cce7d5a4c9e8e4d768683072022-10-27T21:18:30Z2022-10-27T23:03:20Zradical re-formatting 0/3: Alphabetic headersdrkhshme@drkhsh.atcommit 0696635bcbad06770cce7d5a4c9e8e4d76868307
parent 826a5dc86202624b00ad2a51d781758a7f7ca1fa
Author: drkhsh <me@drkhsh.at>
Date: Thu, 27 Oct 2022 23:18:30 +0200
radical re-formatting 0/3: Alphabetic headers
Except stated otherwise in comment.
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
826a5dc86202624b00ad2a51d781758a7f7ca1fa2022-10-27T22:13:12Z2022-10-27T23:03:20Zram: Refactor on OpenBSDdrkhshme@drkhsh.atcommit 826a5dc86202624b00ad2a51d781758a7f7ca1fa
parent d7ea986299db33e3bce7a8be742c1ecf32e9a76e
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:13:12 +0200
ram: Refactor on OpenBSD
Fixes up overly complicated lines, by splitting up logic
d7ea986299db33e3bce7a8be742c1ecf32e9a76e2022-10-27T22:11:15Z2022-10-27T23:03:20Zram: Refactor Linux perc/useddrkhshme@drkhsh.atcommit d7ea986299db33e3bce7a8be742c1ecf32e9a76e
parent 3b86e4b5efd0f6759b2634b607e74b938af30a60
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:11:15 +0200
ram: Refactor Linux perc/used
Fixes up overly complicated line, by splitting up logic
3b86e4b5efd0f6759b2634b607e74b938af30a602022-10-27T21:47:01Z2022-10-27T23:03:20Zbattery: Refactor remaining on OpenBSDdrkhshme@drkhsh.atcommit 3b86e4b5efd0f6759b2634b607e74b938af30a60
parent 21327e0373189f9e9964f34fb5a15639d00575aa
Author: drkhsh <me@drkhsh.at>
Date: Thu, 27 Oct 2022 23:47:01 +0200
battery: Refactor remaining on OpenBSD
Fixes up overly complicated line, by splitting up logic
21327e0373189f9e9964f34fb5a15639d00575aa2022-10-27T22:15:21Z2022-10-27T23:02:58Ztemp: Put sysctl into define to avoid line wrapsdrkhshme@drkhsh.atcommit 21327e0373189f9e9964f34fb5a15639d00575aa
parent 69b2487650782f135db76078c4a7fb841cb936ac
Author: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:15:21 +0200
temp: Put sysctl into define to avoid line wraps
Long, wrapped, multi-line if statements suck to read.
This fixes readability.
69b2487650782f135db76078c4a7fb841cb936ac2022-10-27T21:44:52Z2022-10-27T23:01:10Zvarious: Put paths into defines to avoid line wrapsdrkhshme@drkhsh.atcommit 69b2487650782f135db76078c4a7fb841cb936ac
parent c46c1487a986496dd813ec52e17e5bf9ba10fd84
Author: drkhsh <me@drkhsh.at>
Date: Thu, 27 Oct 2022 23:44:52 +0200
various: Put paths into defines to avoid line wraps
Long, wrapped, multi-line if statements suck to read.
This fixes readability in the worst places by packing format strings for
paths into defines.
c46c1487a986496dd813ec52e17e5bf9ba10fd842022-10-27T20:14:20Z2022-10-27T23:00:40Zseparator: kill that useless thingdrkhshme@drkhsh.atcommit c46c1487a986496dd813ec52e17e5bf9ba10fd84
parent 0c2b3e5b5c499b1de566fd4bef49c5e6b5254d1a
Author: drkhsh <me@drkhsh.at>
Date: Thu, 27 Oct 2022 22:14:20 +0200
separator: kill that useless thing
Just use the format strings dude. :)
0c2b3e5b5c499b1de566fd4bef49c5e6b5254d1a2022-10-26T20:16:05Z2022-10-26T21:32:43Zdo not rely on obsolete featureNRKnrk@disroot.orgcommit 0c2b3e5b5c499b1de566fd4bef49c5e6b5254d1a
parent 28ef0b242c32e8ae8b4df2b4b380e30bf581130f
Author: NRK <nrk@disroot.org>
Date: Thu, 27 Oct 2022 02:16:05 +0600
do not rely on obsolete feature
function prototype with unspecified argument is obsolete since c99.
additionally some of these function which don't take any argument were
being called with a `const char *` arg, which is UB.
fix both these issues by declararing ALL the components to accept a
`const char *`, and name the arg "unused" if it's meant to be ignored.
28ef0b242c32e8ae8b4df2b4b380e30bf581130f2022-10-26T20:14:53Z2022-10-26T21:32:07Zcomponents/*.c: include slstatus.hNRKnrk@disroot.orgcommit 28ef0b242c32e8ae8b4df2b4b380e30bf581130f
parent f29aa9ab0656c938ad0c0d4a6136ff25bd82ebf9
Author: NRK <nrk@disroot.org>
Date: Thu, 27 Oct 2022 02:14:53 +0600
components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
f29aa9ab0656c938ad0c0d4a6136ff25bd82ebf92022-10-26T19:34:47Z2022-10-26T19:34:58ZAdd 'Not charging' status supportSpenser Truextruex@equwal.comcommit f29aa9ab0656c938ad0c0d4a6136ff25bd82ebf9
parent 0aacce1c527749ccb85bd661a596af52dfb562cc
Author: Spenser Truex <truex@equwal.com>
Date: Wed, 26 Oct 2022 21:34:47 +0200
Add 'Not charging' status support
Exists on various ThinkPads. Seems to be both a synonym for "full".
Tested on:
- ThinkPad T500 (Spenser Truex <truex@equwal.com)
- ThinkPad T420 (drkhsh <me@drkhsh.at)
0aacce1c527749ccb85bd661a596af52dfb562cc2022-10-26T10:57:12Z2022-10-26T19:24:20ZAdd comment about mixer oss module to READMEdrkhshme@drkhsh.atcommit 0aacce1c527749ccb85bd661a596af52dfb562cc
parent 1881569f6ce822f5baec4c7ceb9a8695f7e6a3ef
Author: drkhsh <me@drkhsh.at>
Date: Wed, 26 Oct 2022 12:57:12 +0200
Add comment about mixer oss module to README
1881569f6ce822f5baec4c7ceb9a8695f7e6a3ef2022-10-19T23:24:08Z2022-10-26T19:24:19ZUpdate LICENSEdrkhshme@drkhsh.atcommit 1881569f6ce822f5baec4c7ceb9a8695f7e6a3ef
parent 3b699c127db745b32002c14d59a6de4ebcc0b7db
Author: drkhsh <me@drkhsh.at>
Date: Thu, 20 Oct 2022 01:24:08 +0200
Update LICENSE
3b699c127db745b32002c14d59a6de4ebcc0b7db2021-02-15T11:56:42Z2022-10-26T19:24:16ZReset sndiod initialization flag on disconnectsIngo Feinererfeinerer@logic.atcommit 3b699c127db745b32002c14d59a6de4ebcc0b7db
parent 798809ce02528d5954e0b1d524f44c29503a7407
Author: Ingo Feinerer <feinerer@logic.at>
Date: Mon, 15 Feb 2021 12:56:42 +0100
Reset sndiod initialization flag on disconnects
If the connection is lost to the sndiod(8) daemon reset the
initialization to allow for a graceful restart.
798809ce02528d5954e0b1d524f44c29503a74072021-01-01T15:52:57Z2022-10-26T19:24:14ZMake volume component work on FreeBSDmichaelbuch12@gmail.commichaelbuch12@gmail.comcommit 798809ce02528d5954e0b1d524f44c29503a7407
parent 77bfb76a971ed8d114fc12db70d8bfeef923510e
Author: michaelbuch12@gmail.com <michaelbuch12@gmail.com>
Date: Fri, 1 Jan 2021 16:52:57 +0100
Make volume component work on FreeBSD
- Edit compile instructions
- Reuse OpenBSD sndio implementation
77bfb76a971ed8d114fc12db70d8bfeef923510e2021-01-01T16:04:36Z2022-10-26T19:24:11ZFix RAM component on FreeBSDmichaelbuch12@gmail.commichaelbuch12@gmail.comcommit 77bfb76a971ed8d114fc12db70d8bfeef923510e
parent 3c47701aea6bdb1e27c9b2039c07321077764f45
Author: michaelbuch12@gmail.com <michaelbuch12@gmail.com>
Date: Fri, 1 Jan 2021 17:04:36 +0100
Fix RAM component on FreeBSD
The current implementation uses the wrong type for
given sysctl calls leading to overflow and incorrectly
reported RAM usage. The fix is to use 'unsigned int'
which is what FreeBSD expects.
3c47701aea6bdb1e27c9b2039c07321077764f452022-08-27T14:40:20Z2022-10-26T19:24:09ZFix keyboard_indicators() prototypeNRKnrk_AT_disroot.orgcommit 3c47701aea6bdb1e27c9b2039c07321077764f45
parent 84a2f117a32f0796045941260cdc4b69852b41e0
Author: NRK <nrk_AT_disroot.org>
Date: Sat, 27 Aug 2022 20:40:20 +0600
Fix keyboard_indicators() prototype
according to both the function definition and the comment in
config.def.h, keyboard_indicators() should take a format string.
84a2f117a32f0796045941260cdc4b69852b41e02020-11-30T20:32:14Z2020-11-30T20:32:14ZUpdate READMEAaron Marcherme@drkhsh.atcommit 84a2f117a32f0796045941260cdc4b69852b41e0
parent ae8a658d0cf8f12e6633447a53a75d2583b94d46
Author: Aaron Marcher <me@drkhsh.at>
Date: Mon, 30 Nov 2020 21:32:14 +0100
Update README
ae8a658d0cf8f12e6633447a53a75d2583b94d462020-11-30T20:26:40Z2020-11-30T20:26:40ZUpdate LICENSEAaron Marcherme@drkhsh.atcommit ae8a658d0cf8f12e6633447a53a75d2583b94d46
parent dd5bfc3e518a705aba95569537e785bb0d6d7005
Author: Aaron Marcher <me@drkhsh.at>
Date: Mon, 30 Nov 2020 21:26:40 +0100
Update LICENSE
dd5bfc3e518a705aba95569537e785bb0d6d70052020-11-30T19:56:21Z2020-11-30T20:24:34ZAdd comment for FreeBSD to config.mkAaron Marcherme@drkhsh.atcommit dd5bfc3e518a705aba95569537e785bb0d6d7005
parent 9ac721c23fb640de2a6d1f84c84a79b2ccc26691
Author: Aaron Marcher <me@drkhsh.at>
Date: Mon, 30 Nov 2020 20:56:21 +0100
Add comment for FreeBSD to config.mk
Apparently `-lkvm` is needed for swap on FreeBSD
Thanks to Micheal Buch and Jason Smith
(See thread https://lists.suckless.org/dev/1907/33594.html)
9ac721c23fb640de2a6d1f84c84a79b2ccc266912020-05-09T10:03:20Z2020-11-30T20:24:33ZUse the sioctl_open(3) OpenBSD API to access volIngo Feinererfeinerer@logic.atcommit 9ac721c23fb640de2a6d1f84c84a79b2ccc26691
parent aaf279f6ddfb48146fc1a579efd83a55722910b5
Author: Ingo Feinerer <feinerer@logic.at>
Date: Sat, 9 May 2020 12:03:20 +0200
Use the sioctl_open(3) OpenBSD API to access vol
Starting with OpenBSD 6.7 regular users cannot access raw audio devices
anymore, for improved security.
Instead use the sioctl_open(3) API to access and manipulate audio
controls exposed by sndiod(8). On the first call a permanent connection
is established with the running sndiod daemon, and call-back functions
are registered which are triggered when audio controls are changed
(e.g., a USB headset is attached) or when the volume is modified. On
subsequent calls we poll for changes; if there are no volume changes
this costs virtually nothing.
Joint work with Alexandre Ratchov
aaf279f6ddfb48146fc1a579efd83a55722910b52020-06-23T20:35:43Z2020-11-30T20:23:56ZAdd a -1 option flagDaniel Mochdaniel@danielmoch.comcommit aaf279f6ddfb48146fc1a579efd83a55722910b5
parent d1b23e5509863fd0790261b2b388e687d5218d53
Author: Daniel Moch <daniel@danielmoch.com>
Date: Tue, 23 Jun 2020 16:35:43 -0400
Add a -1 option flag
Allow slstatus to be used by programs that can grab status by calling
an external program on a periodic basis (e.g. tmux)
d1b23e5509863fd0790261b2b388e687d5218d532020-06-18T06:46:12Z2020-11-30T20:23:49ZHandle SIGUSR1 for forced refreshesMart Lubbersmart@martlubbers.netcommit d1b23e5509863fd0790261b2b388e687d5218d53
parent 3fc2872d1b3e62903a4af49326d42c97c11911d5
Author: Mart Lubbers <mart@martlubbers.net>
Date: Thu, 18 Jun 2020 08:46:12 +0200
Handle SIGUSR1 for forced refreshes
At some point one might want to force a refresh for example after
checking email or changing the volume. Sending a SIGUSR1 achieves this
now
3fc2872d1b3e62903a4af49326d42c97c11911d52019-11-01T04:50:32Z2020-11-30T20:23:48ZFix temperature reporting on OpenBSDdspdsp@2f30.orgcommit 3fc2872d1b3e62903a4af49326d42c97c11911d5
parent 3ac985eb0338773cfb1d1446fc0751f1f2afea94
Author: dsp <dsp@2f30.org>
Date: Thu, 31 Oct 2019 22:50:32 -0600
Fix temperature reporting on OpenBSD
On OpenBSD although the formula is correct due to integer division a
temperature of for example 54 celsius appears as 5. this patch first
treats it as a floating point op before retaining the non decimal digits
3ac985eb0338773cfb1d1446fc0751f1f2afea942019-10-02T08:31:54Z2020-11-30T20:23:26ZFull battery indicatorCem Keylancem@ckyln.comcommit 3ac985eb0338773cfb1d1446fc0751f1f2afea94
parent 2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae
Author: Cem Keylan <cem@ckyln.com>
Date: Wed, 2 Oct 2019 11:31:54 +0300
Full battery indicator
When you reach full charge the symbol would change
to a question mark "?" as "Full" was not defined,
now it changes to an "o" instead.
2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae2019-03-30T12:45:05Z2020-11-30T20:15:13ZAdd separator moduleRyan Kesalrayyes@gmail.comcommit 2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae
parent b14e039639ed28005fbb8bddeb5b5fa0c93475ac
Author: Ryan Kes <alrayyes@gmail.com>
Date: Sat, 30 Mar 2019 13:45:05 +0100
Add separator module
b14e039639ed28005fbb8bddeb5b5fa0c93475ac2019-02-16T16:59:44Z2019-02-17T15:53:56ZFollow International System of Units spacing rulesIngo Feinererfeinerer@logic.atcommit b14e039639ed28005fbb8bddeb5b5fa0c93475ac
parent 93daf4f35e2b72e64d4e0de79159a8c26241bfa2
Author: Ingo Feinerer <feinerer@logic.at>
Date: Sat, 16 Feb 2019 17:59:44 +0100
Follow International System of Units spacing rules
93daf4f35e2b72e64d4e0de79159a8c26241bfa22019-02-16T16:05:04Z2019-02-16T16:05:04ZAdd OS-support notice to READMEAaron Marcherme@drkhsh.atcommit 93daf4f35e2b72e64d4e0de79159a8c26241bfa2
parent a1ac203d16c379d7fc05765545af2977a7a3584d
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 16 Feb 2019 17:05:04 +0100
Add OS-support notice to README
a1ac203d16c379d7fc05765545af2977a7a3584d2019-02-16T01:26:44Z2019-02-16T15:58:34ZAdd ram and swap components on FreeBSDMichael Buchmichaelbuch12@gmail.comcommit a1ac203d16c379d7fc05765545af2977a7a3584d
parent 10bdf01b715dcc994f3fe32a6881d5e0b2613a6c
Author: Michael Buch <michaelbuch12@gmail.com>
Date: Sat, 16 Feb 2019 01:26:44 +0000
Add ram and swap components on FreeBSD
10bdf01b715dcc994f3fe32a6881d5e0b2613a6c2019-02-14T18:25:51Z2019-02-16T15:56:55Zcpu_perc: Check for division by zeroIngo Feinererfeinerer@logic.atcommit 10bdf01b715dcc994f3fe32a6881d5e0b2613a6c
parent d518472e6235dde0164115cd68f383f3db3427f2
Author: Ingo Feinerer <feinerer@logic.at>
Date: Thu, 14 Feb 2019 19:25:51 +0100
cpu_perc: Check for division by zero
d518472e6235dde0164115cd68f383f3db3427f22019-02-13T14:45:40Z2019-02-13T17:04:14ZFix CPU frequency on OpenBSDIngo Feinererfeinerer@logic.atcommit d518472e6235dde0164115cd68f383f3db3427f2
parent a9193a757a510e07e69b18ca64d2e50d467f01c1
Author: Ingo Feinerer <feinerer@logic.at>
Date: Wed, 13 Feb 2019 15:45:40 +0100
Fix CPU frequency on OpenBSD
a9193a757a510e07e69b18ca64d2e50d467f01c12019-02-13T14:16:17Z2019-02-13T14:23:04Zclose file descriptors and fix return valuesMichael Buchmichaelbuch12@gmail.comcommit a9193a757a510e07e69b18ca64d2e50d467f01c1
parent c1dc896c806693a4a368abf59e6890d32d520074
Author: Michael Buch <michaelbuch12@gmail.com>
Date: Wed, 13 Feb 2019 14:16:17 +0000
close file descriptors and fix return values
c1dc896c806693a4a368abf59e6890d32d5200742019-02-08T14:37:17Z2019-02-13T12:35:44ZAdd native OpenBSD support for mute/volumeIngo Feinererfeinerer@logic.atcommit c1dc896c806693a4a368abf59e6890d32d520074
parent e724907cc37749907cb8c63031d9fb35ef46a657
Author: Ingo Feinerer <feinerer@logic.at>
Date: Fri, 8 Feb 2019 15:37:17 +0100
Add native OpenBSD support for mute/volume
Based on functionality in dstat by Joerg Jung.
e724907cc37749907cb8c63031d9fb35ef46a6572019-02-13T00:47:23Z2019-02-13T12:10:20Zwifi component on FreeBSDMichael Buchmichaelbuch12@gmail.comcommit e724907cc37749907cb8c63031d9fb35ef46a657
parent 86849d295b1eb9e18746d8a4fa196fe7b9dce0dc
Author: Michael Buch <michaelbuch12@gmail.com>
Date: Wed, 13 Feb 2019 00:47:23 +0000
wifi component on FreeBSD
86849d295b1eb9e18746d8a4fa196fe7b9dce0dc2019-01-30T11:21:54Z2019-02-07T11:23:01ZAdd FreeBSD support for netspeeds, entropy and ip componentsMichael Buchmichaelbuch12@gmail.comcommit 86849d295b1eb9e18746d8a4fa196fe7b9dce0dc
parent b6d0bd2fe45283b24e3e69a61671bd3ac615a9b4
Author: Michael Buch <michaelbuch12@gmail.com>
Date: Wed, 30 Jan 2019 11:21:54 +0000
Add FreeBSD support for netspeeds, entropy and ip components
b6d0bd2fe45283b24e3e69a61671bd3ac615a9b42019-02-05T08:32:47Z2019-02-05T08:32:47ZUpdate LICENSEAaron Marcherme@drkhsh.atcommit b6d0bd2fe45283b24e3e69a61671bd3ac615a9b4
parent 120d15059425b522db464e6f3f857bee4a781cce
Author: Aaron Marcher <me@drkhsh.at>
Date: Tue, 5 Feb 2019 09:32:47 +0100
Update LICENSE
120d15059425b522db464e6f3f857bee4a781cce2019-02-05T02:44:37Z2019-02-05T08:31:06ZAdd support for cpu and uptime components on FreeBSDMichael Buchmichaelbuch12@gmail.comcommit 120d15059425b522db464e6f3f857bee4a781cce
parent ec306623df7321a4e6ec11f70b6152a2e614d1ed
Author: Michael Buch <michaelbuch12@gmail.com>
Date: Tue, 5 Feb 2019 02:44:37 +0000
Add support for cpu and uptime components on FreeBSD
ec306623df7321a4e6ec11f70b6152a2e614d1ed2019-01-27T15:44:39Z2019-02-05T08:30:21ZAdd FreeBSD support for temperature and battery componentsMichael Buchmichaelbuch12@gmail.comcommit ec306623df7321a4e6ec11f70b6152a2e614d1ed
parent dd7f1896aa9883f33b4d28cd192e8088db0cab5a
Author: Michael Buch <michaelbuch12@gmail.com>
Date: Sun, 27 Jan 2019 15:44:39 +0000
Add FreeBSD support for temperature and battery components
dd7f1896aa9883f33b4d28cd192e8088db0cab5a2018-07-08T15:45:32Z2018-07-08T15:45:32Zram: Consistency with line breaksAaron Marcherme@drkhsh.atcommit dd7f1896aa9883f33b4d28cd192e8088db0cab5a
parent e213b48122f1f8e8d837053324d9c891a67a38d2
Author: Aaron Marcher <me@drkhsh.at>
Date: Sun, 8 Jul 2018 17:45:32 +0200
ram: Consistency with line breaks
e213b48122f1f8e8d837053324d9c891a67a38d22018-07-08T15:44:53Z2018-07-08T15:44:53ZFix whitespaceAaron Marcherme@drkhsh.atcommit e213b48122f1f8e8d837053324d9c891a67a38d2
parent 96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc
Author: Aaron Marcher <me@drkhsh.at>
Date: Sun, 8 Jul 2018 17:44:53 +0200
Fix whitespace
96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc2018-07-08T15:42:58Z2018-07-08T15:42:58ZConsistency with 80 char limit and breaksAaron Marcherme@drkhsh.atcommit 96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc
parent c93971748cb4771aec25aee6e8ff5b7bbb1aacf3
Author: Aaron Marcher <me@drkhsh.at>
Date: Sun, 8 Jul 2018 17:42:58 +0200
Consistency with 80 char limit and breaks
c93971748cb4771aec25aee6e8ff5b7bbb1aacf32018-07-07T12:05:53Z2018-07-07T12:05:53Zwifi_perc: Simplify on LinuxAaron Marcherme@drkhsh.atcommit c93971748cb4771aec25aee6e8ff5b7bbb1aacf3
parent acfa1f50c24add6b9a78d94af21f9350150fb9c2
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 14:05:53 +0200
wifi_perc: Simplify on Linux
Remove unnecessary variable
acfa1f50c24add6b9a78d94af21f9350150fb9c22018-07-07T09:08:26Z2018-07-07T09:08:26ZSimplify format specifiers for uintmax_tAaron Marcherme@drkhsh.atcommit acfa1f50c24add6b9a78d94af21f9350150fb9c2
parent c2492c3f99d9d434a6f935dea8e97fa27cdd2adc
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 11:08:26 +0200
Simplify format specifiers for uintmax_t
c2492c3f99d9d434a6f935dea8e97fa27cdd2adc2018-07-07T08:56:10Z2018-07-07T08:56:10Zcpu_freq: Simplify with E-notationAaron Marcherme@drkhsh.atcommit c2492c3f99d9d434a6f935dea8e97fa27cdd2adc
parent e20b50112e01f92f7c302107b59b17d8cc28387a
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 10:56:10 +0200
cpu_freq: Simplify with E-notation
Thanks to the FRIGN
e20b50112e01f92f7c302107b59b17d8cc28387a2018-07-07T08:54:12Z2018-07-07T08:54:12Zcpu_freq: Change to 64 bit integersAaron Marcherme@drkhsh.atcommit e20b50112e01f92f7c302107b59b17d8cc28387a
parent 43a12832a343747b7317987b552a87eb8ed5b42d
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 10:54:12 +0200
cpu_freq: Change to 64 bit integers
Remove unnecessary cast to size_t
43a12832a343747b7317987b552a87eb8ed5b42d2018-07-07T08:50:25Z2018-07-07T08:50:25ZChange uint64_t to uintmax_tAaron Marcherme@drkhsh.atcommit 43a12832a343747b7317987b552a87eb8ed5b42d
parent d76b1a21fc014395cf9f7bd4e14180a3a0945e9c
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 10:50:25 +0200
Change uint64_t to uintmax_t
d76b1a21fc014395cf9f7bd4e14180a3a0945e9c2018-07-07T08:31:57Z2018-07-07T08:31:57Zbattery: 64 bit ints on LinuxAaron Marcherme@drkhsh.atcommit d76b1a21fc014395cf9f7bd4e14180a3a0945e9c
parent b792b7ab69c24bedf8147c734a849ae0c54da1dc
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 10:31:57 +0200
battery: 64 bit ints on Linux
b792b7ab69c24bedf8147c734a849ae0c54da1dc2018-07-06T22:24:36Z2018-07-06T22:24:36Zcpu: Use uint64_t on OpenBSDAaron Marcherme@drkhsh.atcommit b792b7ab69c24bedf8147c734a849ae0c54da1dc
parent 609ef3aa1f6c0a47822d425dc6bb0744042ca038
Author: Aaron Marcher <me@drkhsh.at>
Date: Sat, 7 Jul 2018 00:24:36 +0200
cpu: Use uint64_t on OpenBSD
609ef3aa1f6c0a47822d425dc6bb0744042ca0382018-07-06T21:55:18Z2018-07-06T21:55:18Zbattery: Remove unnecessary defines for pathsAaron Marcherme@drkhsh.atcommit 609ef3aa1f6c0a47822d425dc6bb0744042ca038
parent 16e15217c6cb56bd4125c54e645b932a50655b9d
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:55:18 +0200
battery: Remove unnecessary defines for paths
16e15217c6cb56bd4125c54e645b932a50655b9d2018-07-06T21:47:52Z2018-07-06T21:47:52Zuptime: Improve typing and sort headersAaron Marcherme@drkhsh.atcommit 16e15217c6cb56bd4125c54e645b932a50655b9d
parent d1e33988227bf88c6bc33d4f83274dda78ee2310
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:47:52 +0200
uptime: Improve typing and sort headers
d1e33988227bf88c6bc33d4f83274dda78ee23102018-07-06T21:41:02Z2018-07-06T21:41:02Ztemperature: Improve typesAaron Marcherme@drkhsh.atcommit d1e33988227bf88c6bc33d4f83274dda78ee2310
parent ab4f24a612fd40bb58b5504e979ad476533dd891
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:41:02 +0200
temperature: Improve types
ab4f24a612fd40bb58b5504e979ad476533dd8912018-07-06T21:38:12Z2018-07-06T21:38:12Zram: Check for theoretical division by zeroAaron Marcherme@drkhsh.atcommit ab4f24a612fd40bb58b5504e979ad476533dd891
parent fa7c266e2b7adbc2a87bd44057b9e561d9ed61e3
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:38:12 +0200
ram: Check for theoretical division by zero
fa7c266e2b7adbc2a87bd44057b9e561d9ed61e32018-07-06T21:37:05Z2018-07-06T21:37:05Zram: Use POSIX typesAaron Marcherme@drkhsh.atcommit fa7c266e2b7adbc2a87bd44057b9e561d9ed61e3
parent b65c058598afe7319c1a634cd8423ec25d0d7215
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:37:05 +0200
ram: Use POSIX types
b65c058598afe7319c1a634cd8423ec25d0d72152018-07-06T21:26:12Z2018-07-06T21:26:12Zentropy: Use POSIX types for format specifiersAaron Marcherme@drkhsh.atcommit b65c058598afe7319c1a634cd8423ec25d0d7215
parent c59b64e643386f42f4329d77d25070be264245da
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:26:12 +0200
entropy: Use POSIX types for format specifiers
c59b64e643386f42f4329d77d25070be264245da2018-07-06T21:17:08Z2018-07-06T21:17:08Zentropy: Improve typesAaron Marcherme@drkhsh.atcommit c59b64e643386f42f4329d77d25070be264245da
parent 51ff7ce2b99147a1a77ed243093865fc884e571a
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 23:17:08 +0200
entropy: Improve types
51ff7ce2b99147a1a77ed243093865fc884e571a2018-07-06T06:08:48Z2018-07-06T06:08:48ZConsistent paramter naming for componentsAaron Marcherme@drkhsh.atcommit 51ff7ce2b99147a1a77ed243093865fc884e571a
parent efa26f4f3548bce8086abcd8de7ca135169e6f37
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 08:08:48 +0200
Consistent paramter naming for components
efa26f4f3548bce8086abcd8de7ca135169e6f372018-07-06T06:03:31Z2018-07-06T06:03:31Zslstatus.h: Fix coding styleAaron Marcherme@drkhsh.atcommit efa26f4f3548bce8086abcd8de7ca135169e6f37
parent 381c2fa12a82948318ddcc7bc8c26b60c3b20081
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 08:03:31 +0200
slstatus.h: Fix coding style
Function declarations should include variable names.
For functions with different parameters on different platfroms they are
left out.
381c2fa12a82948318ddcc7bc8c26b60c3b200812018-07-06T05:56:46Z2018-07-06T05:56:46Zfmt_human: Improve typesAaron Marcherme@drkhsh.atcommit 381c2fa12a82948318ddcc7bc8c26b60c3b20081
parent 1452a44832a302d8928793b889aafd05ab54df2c
Author: Aaron Marcher <me@drkhsh.at>
Date: Fri, 6 Jul 2018 07:56:46 +0200
fmt_human: Improve types
size_t may not be enough, use 64 bit integers
1452a44832a302d8928793b889aafd05ab54df2c2018-06-04T12:07:20Z2018-06-04T12:07:20ZAdd Ian Remmler to LICENSEAaron Marcherme@drkhsh.atcommit 1452a44832a302d8928793b889aafd05ab54df2c
parent 32e0a2bfcc7def9128fb7f385b603f2c5fe34e4d
Author: Aaron Marcher <me@drkhsh.at>
Date: Mon, 4 Jun 2018 14:07:20 +0200
Add Ian Remmler to LICENSE
32e0a2bfcc7def9128fb7f385b603f2c5fe34e4d2018-06-04T01:02:34Z2018-06-04T12:06:11ZAdd flexible formatting to keyboard_indicators.Ian Remmlerian@remmler.orgcommit 32e0a2bfcc7def9128fb7f385b603f2c5fe34e4d
parent 005b5417179de9eff56a9ac5f2ed818ae9ad5817
Author: Ian Remmler <ian@remmler.org>
Date: Sun, 3 Jun 2018 20:02:34 -0500
Add flexible formatting to keyboard_indicators.
Updated for style.
005b5417179de9eff56a9ac5f2ed818ae9ad58172018-06-01T18:10:34Z2018-06-01T18:17:25Zuptime: unification of the uptime function for linux/openbsdTobias Tschinkowitztobias@he4d.netcommit 005b5417179de9eff56a9ac5f2ed818ae9ad5817
parent 8c8091f4f165974c44d75dd9ccc7cc4dcd1d1c96
Author: Tobias Tschinkowitz <tobias@he4d.net>
Date: Fri, 1 Jun 2018 20:10:34 +0200
uptime: unification of the uptime function for linux/openbsd
8c8091f4f165974c44d75dd9ccc7cc4dcd1d1c962018-05-31T11:53:49Z2018-05-31T13:10:04Zwifi: fixed disconnected wifi status on openbsdTobias Tschinkowitztobias@he4d.netcommit 8c8091f4f165974c44d75dd9ccc7cc4dcd1d1c96
parent b0401b13bb78bacde9d10b00766830cbeb2c90f6
Author: Tobias Tschinkowitz <tobias@he4d.net>
Date: Thu, 31 May 2018 13:53:49 +0200
wifi: fixed disconnected wifi status on openbsd
b0401b13bb78bacde9d10b00766830cbeb2c90f62018-05-30T17:35:37Z2018-05-30T17:35:37ZClean up header includesAaron Marcherme@drkhsh.atcommit b0401b13bb78bacde9d10b00766830cbeb2c90f6
parent c0436810efa61b1207f57838fbb79b31bf593433
Author: Aaron Marcher <me@drkhsh.at>
Date: Wed, 30 May 2018 19:35:37 +0200
Clean up header includes
- Remove <errno.h> because related functions are in util.c now
- Remove corresponding <string.h> if not used otherwise
c0436810efa61b1207f57838fbb79b31bf5934332018-05-29T20:26:40Z2018-05-29T20:26:40ZUpdate LICENSE for QuentinAaron Marcherme@drkhsh.atcommit c0436810efa61b1207f57838fbb79b31bf593433
parent 7fe240856eef7b56d8ca0b57fd5642dbdc5b89b1
Author: Aaron Marcher <me@drkhsh.at>
Date: Tue, 29 May 2018 22:26:40 +0200
Update LICENSE for Quentin
7fe240856eef7b56d8ca0b57fd5642dbdc5b89b12018-05-29T19:32:29Z2018-05-29T20:26:05ZFlush the output stream instead of arbitrarily disabling bufferingQuentin Rameauquinq@fifth.spacecommit 7fe240856eef7b56d8ca0b57fd5642dbdc5b89b1
parent 81d5b427cb10eae98fc958627336503390b9a1c1
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 29 May 2018 21:32:29 +0200
Flush the output stream instead of arbitrarily disabling buffering
This is (arguably) more elegant and it matches Xlib output logic.
Also use puts instead of printf as we don't do formating there.