slstatus, branch HEAD status monitor 8723e8b8c69c08bae8abe02ea1f4a49758b8bdfc 2025-07-24T20:41:25Z 2025-07-24T20:41:25Z more concise memory calculation on Linux drkhsh me@drkhsh.at commit 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 6eb7887853537ac0cf91517019328e038382bdd8 2025-07-16T16:21:41Z 2025-07-16T16:21:43Z fix name confusion in LICENSE drkhsh me@drkhsh.at commit 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 f5c4e634cdb19eca298491ad6f071ad09204060f 2025-04-30T02:00:57Z 2025-04-30T02:00:57Z bump version to 1.1 drkhsh me@drkhsh.at commit f5c4e634cdb19eca298491ad6f071ad09204060f parent 3db023f13b85de9cd63096d17b025a6cce39ef88 Author: drkhsh <me@drkhsh.at> Date: Wed, 30 Apr 2025 04:00:57 +0200 bump version to 1.1 3db023f13b85de9cd63096d17b025a6cce39ef88 2025-04-30T01:59:49Z 2025-04-30T02:00:53Z refactor wifi on linux drkhsh me@drkhsh.at commit 3db023f13b85de9cd63096d17b025a6cce39ef88 parent a0f960c16f3ccfb01deaaa04556f1a21aa4ac091 Author: drkhsh <me@drkhsh.at> Date: Wed, 30 Apr 2025 03:59:49 +0200 refactor wifi on linux a0f960c16f3ccfb01deaaa04556f1a21aa4ac091 2025-04-30T01:12:28Z 2025-04-30T01:13:41Z update LICENSE and README drkhsh me@drkhsh.at commit a0f960c16f3ccfb01deaaa04556f1a21aa4ac091 parent 57a7653632ba15aa0fdd8cbe1831363e4247996d Author: drkhsh <me@drkhsh.at> Date: Wed, 30 Apr 2025 03:12:28 +0200 update LICENSE and README 57a7653632ba15aa0fdd8cbe1831363e4247996d 2025-04-30T01:11:53Z 2025-04-30T01:11:53Z fix compiler warning with newer gcc drkhsh me@drkhsh.at commit 57a7653632ba15aa0fdd8cbe1831363e4247996d parent af508f0b4cf88b1921c59fdf5dd1a98c08223fa5 Author: drkhsh <me@drkhsh.at> Date: Wed, 30 Apr 2025 03:11:53 +0200 fix compiler warning with newer gcc af508f0b4cf88b1921c59fdf5dd1a98c08223fa5 2024-03-15T21:20:54Z 2025-04-30T01:09:55Z add 'up' for whether a interface is up or down sewn sewn@disroot.org commit 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 b6267f7d0bedf5789206adf21f33cfe1a872289c 2024-07-07T06:54:21Z 2025-04-30T01:08:02Z Add underscore to separators in strtok() call in keymap.c Al eirann@disroot.org commit 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 0b00c0319c7b4a941b40aa8709bb4c478f9a9b1f 2024-07-30T20:15:44Z 2025-04-30T00:59:42Z wifi: switch to nl80211 interface Joakim Sindholt opensource@zhasha.com commit 0b00c0319c7b4a941b40aa8709bb4c478f9a9b1f parent f68f49273e70b3767b30c549dda04ddd4d25fc91 Author: Joakim Sindholt <opensource@zhasha.com> Date: Tue, 30 Jul 2024 22:15:44 +0200 wifi: switch to nl80211 interface f68f49273e70b3767b30c549dda04ddd4d25fc91 2023-07-04T18:47:18Z 2023-07-04T18:47:18Z Release stable 1.0 version drkhsh me@drkhsh.at commit f68f49273e70b3767b30c549dda04ddd4d25fc91 parent 86c7a84c2397e5bbdcebe2a06bada7ee48f0d480 Author: drkhsh <me@drkhsh.at> Date: Tue, 4 Jul 2023 20:47:18 +0200 Release stable 1.0 version 86c7a84c2397e5bbdcebe2a06bada7ee48f0d480 2023-05-15T17:14:52Z 2023-05-15T17:16:12Z Add back version flag to prepare for release drkhsh me@drkhsh.at commit 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 483169021ba996f59a97b4e3b74cee7e43d6ab6f 2023-05-15T17:11:39Z 2023-05-15T17:11:39Z Fix release tarball to prepare for release drkhsh me@drkhsh.at commit 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 e0c155e9ab8e8e0cf0ae09dc8cd0a02a460628cf 2023-04-23T21:48:47Z 2023-04-23T21:48:47Z README: Sync description from manpage drkhsh me@drkhsh.at commit e0c155e9ab8e8e0cf0ae09dc8cd0a02a460628cf parent ee586cfea9c328932255512077882fa8194b50c2 Author: drkhsh <me@drkhsh.at> Date: Sun, 23 Apr 2023 23:48:47 +0200 README: Sync description from manpage ee586cfea9c328932255512077882fa8194b50c2 2023-04-23T21:43:14Z 2023-04-23T21:43:14Z manpage: Quality improvements drkhsh me@drkhsh.at commit 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 c919def84fd4f52f501548e5f7705b9d56dd1459 2022-12-19T21:03:59Z 2022-12-19T21:04:07Z More LICENSE updates drkhsh me@drkhsh.at commit c919def84fd4f52f501548e5f7705b9d56dd1459 parent 034c591a95feec885208266a6849c04289a9c4a5 Author: drkhsh <me@drkhsh.at> Date: Mon, 19 Dec 2022 22:03:59 +0100 More LICENSE updates Regarding 305aa5138add5971456c880219fe859cd4189624 034c591a95feec885208266a6849c04289a9c4a5 2022-12-19T18:26:57Z 2022-12-19T18:26:57Z Revert "config.mk: Fix PREFIX assignment" drkhsh me@drkhsh.at commit 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. 305aa5138add5971456c880219fe859cd4189624 2022-12-19T18:26:15Z 2022-12-19T18:26:18Z Update LICENSE drkhsh me@drkhsh.at commit 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 1ae616190cb3f88221571343a284fdf9f55b683f 2022-12-19T01:40:00Z 2022-12-19T01:44:21Z Update LICENSE drkhsh me@drkhsh.at commit 1ae616190cb3f88221571343a284fdf9f55b683f parent 581d937e51d10e6e74868d2397081b12952eae07 Author: drkhsh <me@drkhsh.at> Date: Mon, 19 Dec 2022 02:40:00 +0100 Update LICENSE 581d937e51d10e6e74868d2397081b12952eae07 2022-10-28T15:49:05Z 2022-12-19T01:44:21Z entropy: Use Unicode escape sequence in string planet36 planet36@users.noreply.github.com commit 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> c225c4315161a992b9e44dd990d083ee57f7f713 2021-05-26T18:29:32Z 2022-12-19T01:44:21Z config.mk: Fix PREFIX assignment planet36 planet36@users.noreply.github.com commit 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> 984f45719e8ac9f4451c2d009fb34e28afdfbdb6 2021-05-12T02:45:34Z 2022-12-19T01:44:21Z num_files: opendir() returns a directory stream planet36 planet36@users.noreply.github.com commit 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> c432c981df97f786c683435a4a06bd58fc9a7b18 2021-04-13T16:43:18Z 2022-12-19T01:44:21Z Make LEN macro consistent with other suckless repos planet36 planet36@users.noreply.github.com commit 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> 87c3dd2c36e6d1df577e87fd4d73970fe58a3007 2021-04-06T16:48:18Z 2022-12-19T01:44:21Z battery: Consistent naming for capacity percentage planet36 planet36@users.noreply.github.com commit 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> d77f216faea5566ba8ebdbf1456c5e6806d2eeb5 2021-04-02T18:11:00Z 2022-12-19T01:44:21Z Sort functions by name planet36 planet36@users.noreply.github.com commit 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> 40f13be551f0e1a0eaee07dcb64b3b6ab3a68dd9 2021-03-25T17:05:48Z 2022-12-19T01:44:21Z uptime: Use sizeof instead of repeating the size planet36 planet36@users.noreply.github.com commit 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> c75cb9ad7af55d16b864b1059fbc1aaa9d9874de 2021-03-05T19:35:24Z 2022-12-19T01:44:21Z keymap: Variable "layout" should be const planet36 planet36@users.noreply.github.com commit 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> 89f8476110c7bdfb70528da79be328ba0f6490be 2021-03-05T19:28:15Z 2022-12-19T01:44:21Z disk: Cast fsblkcnt_t to double instead of float planet36 planet36@users.noreply.github.com commit 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> 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e 2021-03-05T19:20:29Z 2022-12-19T01:44:21Z verr: Remove special "usage" case planet36 planet36@users.noreply.github.com commit 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> e22d447684d8b42731871de5b732669a822ddd1a 2021-03-05T19:19:49Z 2022-12-19T01:44:21Z config.def.h: Remove stray double quote in comment planet36 planet36@users.noreply.github.com commit 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> 173b03417d2a21a646c3d0d3d05ba158f9427139 2022-12-19T01:41:19Z 2022-12-19T01:44:21Z Update README drkhsh me@drkhsh.at commit 173b03417d2a21a646c3d0d3d05ba158f9427139 parent 982eb223a055db01bf03f44bf0203705ca7153e8 Author: drkhsh <me@drkhsh.at> Date: Mon, 19 Dec 2022 02:41:19 +0100 Update README 982eb223a055db01bf03f44bf0203705ca7153e8 2022-11-27T04:11:01Z 2022-12-01T08:04:32Z battery: Fix remaining on Linux Patrick Iacob iacobp@oregonstate.edu commit 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. 57c6e7340d16b14d61f9e3361ca4940f53dfcafa 2022-11-23T22:59:51Z 2022-11-23T23:01:52Z New component: cat drkhsh me@drkhsh.at commit 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`. 4bd78c94ba90d67a268c092231b85037c94a339a 2022-10-27T22:47:06Z 2022-10-27T23:03:56Z README: Add note about FreeBSD sndio dep drkhsh me@drkhsh.at commit 4bd78c94ba90d67a268c092231b85037c94a339a parent cce2e5ecb05cdf68831fbf44c5ab90f4e16364b3 Author: drkhsh <me@drkhsh.at> Date: Fri, 28 Oct 2022 00:47:06 +0200 README: Add note about FreeBSD sndio dep cce2e5ecb05cdf68831fbf44c5ab90f4e16364b3 2022-10-27T22:21:02Z 2022-10-27T23:03:46Z radical re-formatting 3/3: Error checks drkhsh me@drkhsh.at commit 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/ 3251e911878b78b0aad8fc09c782f8d81c878f75 2022-10-27T22:51:34Z 2022-10-27T23:03:38Z radical re-formatting 2/3: Fix blocks drkhsh me@drkhsh.at commit 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/ 2104dc362ca7336d98499a5945ea2a3d371f7568 2022-10-27T22:49:31Z 2022-10-27T23:03:31Z radical re-formatting 1/3: Fix spacing drkhsh me@drkhsh.at commit 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/ 0696635bcbad06770cce7d5a4c9e8e4d76868307 2022-10-27T21:18:30Z 2022-10-27T23:03:20Z radical re-formatting 0/3: Alphabetic headers drkhsh me@drkhsh.at commit 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/ 826a5dc86202624b00ad2a51d781758a7f7ca1fa 2022-10-27T22:13:12Z 2022-10-27T23:03:20Z ram: Refactor on OpenBSD drkhsh me@drkhsh.at commit 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 d7ea986299db33e3bce7a8be742c1ecf32e9a76e 2022-10-27T22:11:15Z 2022-10-27T23:03:20Z ram: Refactor Linux perc/used drkhsh me@drkhsh.at commit 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 3b86e4b5efd0f6759b2634b607e74b938af30a60 2022-10-27T21:47:01Z 2022-10-27T23:03:20Z battery: Refactor remaining on OpenBSD drkhsh me@drkhsh.at commit 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 21327e0373189f9e9964f34fb5a15639d00575aa 2022-10-27T22:15:21Z 2022-10-27T23:02:58Z temp: Put sysctl into define to avoid line wraps drkhsh me@drkhsh.at commit 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. 69b2487650782f135db76078c4a7fb841cb936ac 2022-10-27T21:44:52Z 2022-10-27T23:01:10Z various: Put paths into defines to avoid line wraps drkhsh me@drkhsh.at commit 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. c46c1487a986496dd813ec52e17e5bf9ba10fd84 2022-10-27T20:14:20Z 2022-10-27T23:00:40Z separator: kill that useless thing drkhsh me@drkhsh.at commit 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. :) 0c2b3e5b5c499b1de566fd4bef49c5e6b5254d1a 2022-10-26T20:16:05Z 2022-10-26T21:32:43Z do not rely on obsolete feature NRK nrk@disroot.org commit 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. 28ef0b242c32e8ae8b4df2b4b380e30bf581130f 2022-10-26T20:14:53Z 2022-10-26T21:32:07Z components/*.c: include slstatus.h NRK nrk@disroot.org commit 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. f29aa9ab0656c938ad0c0d4a6136ff25bd82ebf9 2022-10-26T19:34:47Z 2022-10-26T19:34:58Z Add 'Not charging' status support Spenser Truex truex@equwal.com commit 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) 0aacce1c527749ccb85bd661a596af52dfb562cc 2022-10-26T10:57:12Z 2022-10-26T19:24:20Z Add comment about mixer oss module to README drkhsh me@drkhsh.at commit 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 1881569f6ce822f5baec4c7ceb9a8695f7e6a3ef 2022-10-19T23:24:08Z 2022-10-26T19:24:19Z Update LICENSE drkhsh me@drkhsh.at commit 1881569f6ce822f5baec4c7ceb9a8695f7e6a3ef parent 3b699c127db745b32002c14d59a6de4ebcc0b7db Author: drkhsh <me@drkhsh.at> Date: Thu, 20 Oct 2022 01:24:08 +0200 Update LICENSE 3b699c127db745b32002c14d59a6de4ebcc0b7db 2021-02-15T11:56:42Z 2022-10-26T19:24:16Z Reset sndiod initialization flag on disconnects Ingo Feinerer feinerer@logic.at commit 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. 798809ce02528d5954e0b1d524f44c29503a7407 2021-01-01T15:52:57Z 2022-10-26T19:24:14Z Make volume component work on FreeBSD michaelbuch12@gmail.com michaelbuch12@gmail.com commit 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 77bfb76a971ed8d114fc12db70d8bfeef923510e 2021-01-01T16:04:36Z 2022-10-26T19:24:11Z Fix RAM component on FreeBSD michaelbuch12@gmail.com michaelbuch12@gmail.com commit 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. 3c47701aea6bdb1e27c9b2039c07321077764f45 2022-08-27T14:40:20Z 2022-10-26T19:24:09Z Fix keyboard_indicators() prototype NRK nrk_AT_disroot.org commit 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. 84a2f117a32f0796045941260cdc4b69852b41e0 2020-11-30T20:32:14Z 2020-11-30T20:32:14Z Update README Aaron Marcher me@drkhsh.at commit 84a2f117a32f0796045941260cdc4b69852b41e0 parent ae8a658d0cf8f12e6633447a53a75d2583b94d46 Author: Aaron Marcher <me@drkhsh.at> Date: Mon, 30 Nov 2020 21:32:14 +0100 Update README ae8a658d0cf8f12e6633447a53a75d2583b94d46 2020-11-30T20:26:40Z 2020-11-30T20:26:40Z Update LICENSE Aaron Marcher me@drkhsh.at commit ae8a658d0cf8f12e6633447a53a75d2583b94d46 parent dd5bfc3e518a705aba95569537e785bb0d6d7005 Author: Aaron Marcher <me@drkhsh.at> Date: Mon, 30 Nov 2020 21:26:40 +0100 Update LICENSE dd5bfc3e518a705aba95569537e785bb0d6d7005 2020-11-30T19:56:21Z 2020-11-30T20:24:34Z Add comment for FreeBSD to config.mk Aaron Marcher me@drkhsh.at commit 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) 9ac721c23fb640de2a6d1f84c84a79b2ccc26691 2020-05-09T10:03:20Z 2020-11-30T20:24:33Z Use the sioctl_open(3) OpenBSD API to access vol Ingo Feinerer feinerer@logic.at commit 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 aaf279f6ddfb48146fc1a579efd83a55722910b5 2020-06-23T20:35:43Z 2020-11-30T20:23:56Z Add a -1 option flag Daniel Moch daniel@danielmoch.com commit 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) d1b23e5509863fd0790261b2b388e687d5218d53 2020-06-18T06:46:12Z 2020-11-30T20:23:49Z Handle SIGUSR1 for forced refreshes Mart Lubbers mart@martlubbers.net commit 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 3fc2872d1b3e62903a4af49326d42c97c11911d5 2019-11-01T04:50:32Z 2020-11-30T20:23:48Z Fix temperature reporting on OpenBSD dsp dsp@2f30.org commit 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 3ac985eb0338773cfb1d1446fc0751f1f2afea94 2019-10-02T08:31:54Z 2020-11-30T20:23:26Z Full battery indicator Cem Keylan cem@ckyln.com commit 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. 2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae 2019-03-30T12:45:05Z 2020-11-30T20:15:13Z Add separator module Ryan Kes alrayyes@gmail.com commit 2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae parent b14e039639ed28005fbb8bddeb5b5fa0c93475ac Author: Ryan Kes <alrayyes@gmail.com> Date: Sat, 30 Mar 2019 13:45:05 +0100 Add separator module b14e039639ed28005fbb8bddeb5b5fa0c93475ac 2019-02-16T16:59:44Z 2019-02-17T15:53:56Z Follow International System of Units spacing rules Ingo Feinerer feinerer@logic.at commit 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 93daf4f35e2b72e64d4e0de79159a8c26241bfa2 2019-02-16T16:05:04Z 2019-02-16T16:05:04Z Add OS-support notice to README Aaron Marcher me@drkhsh.at commit 93daf4f35e2b72e64d4e0de79159a8c26241bfa2 parent a1ac203d16c379d7fc05765545af2977a7a3584d Author: Aaron Marcher <me@drkhsh.at> Date: Sat, 16 Feb 2019 17:05:04 +0100 Add OS-support notice to README a1ac203d16c379d7fc05765545af2977a7a3584d 2019-02-16T01:26:44Z 2019-02-16T15:58:34Z Add ram and swap components on FreeBSD Michael Buch michaelbuch12@gmail.com commit 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 10bdf01b715dcc994f3fe32a6881d5e0b2613a6c 2019-02-14T18:25:51Z 2019-02-16T15:56:55Z cpu_perc: Check for division by zero Ingo Feinerer feinerer@logic.at commit 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 d518472e6235dde0164115cd68f383f3db3427f2 2019-02-13T14:45:40Z 2019-02-13T17:04:14Z Fix CPU frequency on OpenBSD Ingo Feinerer feinerer@logic.at commit d518472e6235dde0164115cd68f383f3db3427f2 parent a9193a757a510e07e69b18ca64d2e50d467f01c1 Author: Ingo Feinerer <feinerer@logic.at> Date: Wed, 13 Feb 2019 15:45:40 +0100 Fix CPU frequency on OpenBSD a9193a757a510e07e69b18ca64d2e50d467f01c1 2019-02-13T14:16:17Z 2019-02-13T14:23:04Z close file descriptors and fix return values Michael Buch michaelbuch12@gmail.com commit 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 c1dc896c806693a4a368abf59e6890d32d520074 2019-02-08T14:37:17Z 2019-02-13T12:35:44Z Add native OpenBSD support for mute/volume Ingo Feinerer feinerer@logic.at commit 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. e724907cc37749907cb8c63031d9fb35ef46a657 2019-02-13T00:47:23Z 2019-02-13T12:10:20Z wifi component on FreeBSD Michael Buch michaelbuch12@gmail.com commit e724907cc37749907cb8c63031d9fb35ef46a657 parent 86849d295b1eb9e18746d8a4fa196fe7b9dce0dc Author: Michael Buch <michaelbuch12@gmail.com> Date: Wed, 13 Feb 2019 00:47:23 +0000 wifi component on FreeBSD 86849d295b1eb9e18746d8a4fa196fe7b9dce0dc 2019-01-30T11:21:54Z 2019-02-07T11:23:01Z Add FreeBSD support for netspeeds, entropy and ip components Michael Buch michaelbuch12@gmail.com commit 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 b6d0bd2fe45283b24e3e69a61671bd3ac615a9b4 2019-02-05T08:32:47Z 2019-02-05T08:32:47Z Update LICENSE Aaron Marcher me@drkhsh.at commit b6d0bd2fe45283b24e3e69a61671bd3ac615a9b4 parent 120d15059425b522db464e6f3f857bee4a781cce Author: Aaron Marcher <me@drkhsh.at> Date: Tue, 5 Feb 2019 09:32:47 +0100 Update LICENSE 120d15059425b522db464e6f3f857bee4a781cce 2019-02-05T02:44:37Z 2019-02-05T08:31:06Z Add support for cpu and uptime components on FreeBSD Michael Buch michaelbuch12@gmail.com commit 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 ec306623df7321a4e6ec11f70b6152a2e614d1ed 2019-01-27T15:44:39Z 2019-02-05T08:30:21Z Add FreeBSD support for temperature and battery components Michael Buch michaelbuch12@gmail.com commit 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 dd7f1896aa9883f33b4d28cd192e8088db0cab5a 2018-07-08T15:45:32Z 2018-07-08T15:45:32Z ram: Consistency with line breaks Aaron Marcher me@drkhsh.at commit dd7f1896aa9883f33b4d28cd192e8088db0cab5a parent e213b48122f1f8e8d837053324d9c891a67a38d2 Author: Aaron Marcher <me@drkhsh.at> Date: Sun, 8 Jul 2018 17:45:32 +0200 ram: Consistency with line breaks e213b48122f1f8e8d837053324d9c891a67a38d2 2018-07-08T15:44:53Z 2018-07-08T15:44:53Z Fix whitespace Aaron Marcher me@drkhsh.at commit e213b48122f1f8e8d837053324d9c891a67a38d2 parent 96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc Author: Aaron Marcher <me@drkhsh.at> Date: Sun, 8 Jul 2018 17:44:53 +0200 Fix whitespace 96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc 2018-07-08T15:42:58Z 2018-07-08T15:42:58Z Consistency with 80 char limit and breaks Aaron Marcher me@drkhsh.at commit 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 c93971748cb4771aec25aee6e8ff5b7bbb1aacf3 2018-07-07T12:05:53Z 2018-07-07T12:05:53Z wifi_perc: Simplify on Linux Aaron Marcher me@drkhsh.at commit 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 acfa1f50c24add6b9a78d94af21f9350150fb9c2 2018-07-07T09:08:26Z 2018-07-07T09:08:26Z Simplify format specifiers for uintmax_t Aaron Marcher me@drkhsh.at commit acfa1f50c24add6b9a78d94af21f9350150fb9c2 parent c2492c3f99d9d434a6f935dea8e97fa27cdd2adc Author: Aaron Marcher <me@drkhsh.at> Date: Sat, 7 Jul 2018 11:08:26 +0200 Simplify format specifiers for uintmax_t c2492c3f99d9d434a6f935dea8e97fa27cdd2adc 2018-07-07T08:56:10Z 2018-07-07T08:56:10Z cpu_freq: Simplify with E-notation Aaron Marcher me@drkhsh.at commit 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 e20b50112e01f92f7c302107b59b17d8cc28387a 2018-07-07T08:54:12Z 2018-07-07T08:54:12Z cpu_freq: Change to 64 bit integers Aaron Marcher me@drkhsh.at commit 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 43a12832a343747b7317987b552a87eb8ed5b42d 2018-07-07T08:50:25Z 2018-07-07T08:50:25Z Change uint64_t to uintmax_t Aaron Marcher me@drkhsh.at commit 43a12832a343747b7317987b552a87eb8ed5b42d parent d76b1a21fc014395cf9f7bd4e14180a3a0945e9c Author: Aaron Marcher <me@drkhsh.at> Date: Sat, 7 Jul 2018 10:50:25 +0200 Change uint64_t to uintmax_t d76b1a21fc014395cf9f7bd4e14180a3a0945e9c 2018-07-07T08:31:57Z 2018-07-07T08:31:57Z battery: 64 bit ints on Linux Aaron Marcher me@drkhsh.at commit d76b1a21fc014395cf9f7bd4e14180a3a0945e9c parent b792b7ab69c24bedf8147c734a849ae0c54da1dc Author: Aaron Marcher <me@drkhsh.at> Date: Sat, 7 Jul 2018 10:31:57 +0200 battery: 64 bit ints on Linux b792b7ab69c24bedf8147c734a849ae0c54da1dc 2018-07-06T22:24:36Z 2018-07-06T22:24:36Z cpu: Use uint64_t on OpenBSD Aaron Marcher me@drkhsh.at commit b792b7ab69c24bedf8147c734a849ae0c54da1dc parent 609ef3aa1f6c0a47822d425dc6bb0744042ca038 Author: Aaron Marcher <me@drkhsh.at> Date: Sat, 7 Jul 2018 00:24:36 +0200 cpu: Use uint64_t on OpenBSD 609ef3aa1f6c0a47822d425dc6bb0744042ca038 2018-07-06T21:55:18Z 2018-07-06T21:55:18Z battery: Remove unnecessary defines for paths Aaron Marcher me@drkhsh.at commit 609ef3aa1f6c0a47822d425dc6bb0744042ca038 parent 16e15217c6cb56bd4125c54e645b932a50655b9d Author: Aaron Marcher <me@drkhsh.at> Date: Fri, 6 Jul 2018 23:55:18 +0200 battery: Remove unnecessary defines for paths 16e15217c6cb56bd4125c54e645b932a50655b9d 2018-07-06T21:47:52Z 2018-07-06T21:47:52Z uptime: Improve typing and sort headers Aaron Marcher me@drkhsh.at commit 16e15217c6cb56bd4125c54e645b932a50655b9d parent d1e33988227bf88c6bc33d4f83274dda78ee2310 Author: Aaron Marcher <me@drkhsh.at> Date: Fri, 6 Jul 2018 23:47:52 +0200 uptime: Improve typing and sort headers d1e33988227bf88c6bc33d4f83274dda78ee2310 2018-07-06T21:41:02Z 2018-07-06T21:41:02Z temperature: Improve types Aaron Marcher me@drkhsh.at commit d1e33988227bf88c6bc33d4f83274dda78ee2310 parent ab4f24a612fd40bb58b5504e979ad476533dd891 Author: Aaron Marcher <me@drkhsh.at> Date: Fri, 6 Jul 2018 23:41:02 +0200 temperature: Improve types ab4f24a612fd40bb58b5504e979ad476533dd891 2018-07-06T21:38:12Z 2018-07-06T21:38:12Z ram: Check for theoretical division by zero Aaron Marcher me@drkhsh.at commit 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 fa7c266e2b7adbc2a87bd44057b9e561d9ed61e3 2018-07-06T21:37:05Z 2018-07-06T21:37:05Z ram: Use POSIX types Aaron Marcher me@drkhsh.at commit fa7c266e2b7adbc2a87bd44057b9e561d9ed61e3 parent b65c058598afe7319c1a634cd8423ec25d0d7215 Author: Aaron Marcher <me@drkhsh.at> Date: Fri, 6 Jul 2018 23:37:05 +0200 ram: Use POSIX types b65c058598afe7319c1a634cd8423ec25d0d7215 2018-07-06T21:26:12Z 2018-07-06T21:26:12Z entropy: Use POSIX types for format specifiers Aaron Marcher me@drkhsh.at commit 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 c59b64e643386f42f4329d77d25070be264245da 2018-07-06T21:17:08Z 2018-07-06T21:17:08Z entropy: Improve types Aaron Marcher me@drkhsh.at commit c59b64e643386f42f4329d77d25070be264245da parent 51ff7ce2b99147a1a77ed243093865fc884e571a Author: Aaron Marcher <me@drkhsh.at> Date: Fri, 6 Jul 2018 23:17:08 +0200 entropy: Improve types 51ff7ce2b99147a1a77ed243093865fc884e571a 2018-07-06T06:08:48Z 2018-07-06T06:08:48Z Consistent paramter naming for components Aaron Marcher me@drkhsh.at commit 51ff7ce2b99147a1a77ed243093865fc884e571a parent efa26f4f3548bce8086abcd8de7ca135169e6f37 Author: Aaron Marcher <me@drkhsh.at> Date: Fri, 6 Jul 2018 08:08:48 +0200 Consistent paramter naming for components efa26f4f3548bce8086abcd8de7ca135169e6f37 2018-07-06T06:03:31Z 2018-07-06T06:03:31Z slstatus.h: Fix coding style Aaron Marcher me@drkhsh.at commit 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. 381c2fa12a82948318ddcc7bc8c26b60c3b20081 2018-07-06T05:56:46Z 2018-07-06T05:56:46Z fmt_human: Improve types Aaron Marcher me@drkhsh.at commit 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 1452a44832a302d8928793b889aafd05ab54df2c 2018-06-04T12:07:20Z 2018-06-04T12:07:20Z Add Ian Remmler to LICENSE Aaron Marcher me@drkhsh.at commit 1452a44832a302d8928793b889aafd05ab54df2c parent 32e0a2bfcc7def9128fb7f385b603f2c5fe34e4d Author: Aaron Marcher <me@drkhsh.at> Date: Mon, 4 Jun 2018 14:07:20 +0200 Add Ian Remmler to LICENSE 32e0a2bfcc7def9128fb7f385b603f2c5fe34e4d 2018-06-04T01:02:34Z 2018-06-04T12:06:11Z Add flexible formatting to keyboard_indicators. Ian Remmler ian@remmler.org commit 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. 005b5417179de9eff56a9ac5f2ed818ae9ad5817 2018-06-01T18:10:34Z 2018-06-01T18:17:25Z uptime: unification of the uptime function for linux/openbsd Tobias Tschinkowitz tobias@he4d.net commit 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 8c8091f4f165974c44d75dd9ccc7cc4dcd1d1c96 2018-05-31T11:53:49Z 2018-05-31T13:10:04Z wifi: fixed disconnected wifi status on openbsd Tobias Tschinkowitz tobias@he4d.net commit 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 b0401b13bb78bacde9d10b00766830cbeb2c90f6 2018-05-30T17:35:37Z 2018-05-30T17:35:37Z Clean up header includes Aaron Marcher me@drkhsh.at commit 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 c0436810efa61b1207f57838fbb79b31bf593433 2018-05-29T20:26:40Z 2018-05-29T20:26:40Z Update LICENSE for Quentin Aaron Marcher me@drkhsh.at commit c0436810efa61b1207f57838fbb79b31bf593433 parent 7fe240856eef7b56d8ca0b57fd5642dbdc5b89b1 Author: Aaron Marcher <me@drkhsh.at> Date: Tue, 29 May 2018 22:26:40 +0200 Update LICENSE for Quentin 7fe240856eef7b56d8ca0b57fd5642dbdc5b89b1 2018-05-29T19:32:29Z 2018-05-29T20:26:05Z Flush the output stream instead of arbitrarily disabling buffering Quentin Rameau quinq@fifth.space commit 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.