summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-05reload times of some modules changedSuleyman Farajli
2024-09-05makefile install slreloadSuleyman Farajli
2024-09-05makefile prefix can be setSuleyman Farajli
2024-09-05brightness addedSuleyman Farajli
2024-09-04slreload addedSuleyman Farajli
2024-09-04signals patchedSuleyman Farajli
2024-09-04gitignore addedSuleyman Farajli
2024-09-03status updatedSuleyman Farajli
2024-09-03initial versionSuleyman Farajli
2023-07-04Release stable 1.0 versiondrkhsh
2023-05-15Add back version flag to prepare for releasedrkhsh
2023-05-15Fix release tarball to prepare for releasedrkhsh
Correctly copies components to sub-directory, adds all required files
2023-04-23README: Sync description from manpagedrkhsh
2023-04-23manpage: Quality improvementsdrkhsh
Adds signals section to the manpage and generally improves contents and wording
2022-12-19More LICENSE updatesdrkhsh
Regarding 305aa5138add5971456c880219fe859cd4189624
2022-12-19Revert "config.mk: Fix PREFIX assignment"drkhsh
"?=" is not POSIX, packagers should use "make PREFIX=". This reverts commit c225c4315161a992b9e44dd990d083ee57f7f713.
2022-12-19Update LICENSEdrkhsh
Real names should be used if possible, as the license is legally binding
2022-12-19Update LICENSEdrkhsh
2022-12-19entropy: Use Unicode escape sequence in stringplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19config.mk: Fix PREFIX assignmentplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19num_files: opendir() returns a directory streamplanet36
opendir() returns a directory stream, not a file descriptor Co-authored-by: drkhsh <me@drkhsh.at> Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19Make LEN macro consistent with other suckless reposplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19battery: Consistent naming for capacity percentageplanet36
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>
2022-12-19Sort functions by nameplanet36
Co-authored-by: drkhsh <me@drkhsh.at> Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19uptime: Use sizeof instead of repeating the sizeplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19keymap: Variable "layout" should be constplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19disk: Cast fsblkcnt_t to double instead of floatplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19verr: Remove special "usage" caseplanet36
In function verr, remove special case for "usage" string Co-authored-by: drkhsh <me@drkhsh.at> Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19config.def.h: Remove stray double quote in commentplanet36
Signed-off-by: drkhsh <me@drkhsh.at>
2022-12-19Update READMEdrkhsh
2022-12-01battery: Fix remaining on LinuxPatrick Iacob
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.
2022-11-24New component: catdrkhsh
Generically reads an arbitrary file natively. Saves a few layers of execution in comparison to using `run_command` with an argument like `cat ./file`.
2022-10-28README: Add note about FreeBSD sndio depdrkhsh
2022-10-28radical re-formatting 3/3: Error checksdrkhsh
Check for `< 0` instead of `== -1`. Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
2022-10-28radical re-formatting 2/3: Fix blocksdrkhsh
Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
2022-10-28radical re-formatting 1/3: Fix spacingdrkhsh
Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
2022-10-28radical re-formatting 0/3: Alphabetic headersdrkhsh
Except stated otherwise in comment. Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
2022-10-28ram: Refactor on OpenBSDdrkhsh
Fixes up overly complicated lines, by splitting up logic
2022-10-28ram: Refactor Linux perc/useddrkhsh
Fixes up overly complicated line, by splitting up logic
2022-10-28battery: Refactor remaining on OpenBSDdrkhsh
Fixes up overly complicated line, by splitting up logic
2022-10-28temp: Put sysctl into define to avoid line wrapsdrkhsh
Long, wrapped, multi-line if statements suck to read. This fixes readability.
2022-10-28various: Put paths into defines to avoid line wrapsdrkhsh
Long, wrapped, multi-line if statements suck to read. This fixes readability in the worst places by packing format strings for paths into defines.
2022-10-28separator: kill that useless thingdrkhsh
Just use the format strings dude. :)
2022-10-26do not rely on obsolete featureNRK
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.
2022-10-26components/*.c: include slstatus.hNRK
this gives the compiler a chance to check weather the prototype and definiton matches or not, which would catch issues like 3c47701.
2022-10-26Add 'Not charging' status supportSpenser Truex
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)
2022-10-26Add comment about mixer oss module to READMEdrkhsh
2022-10-26Update LICENSEdrkhsh
2022-10-26Reset sndiod initialization flag on disconnectsIngo Feinerer
If the connection is lost to the sndiod(8) daemon reset the initialization to allow for a graceful restart.
2022-10-26Make volume component work on FreeBSDmichaelbuch12@gmail.com
- Edit compile instructions - Reuse OpenBSD sndio implementation