RinRi
ee935920b4
2023-08-02
преди 9 месеца
RinRi
ff3c5cde9b
add brightness
преди 3 години
RinRi
3243b2a03b
added username@hostname
преди 3 години
RinRi-D
e203c17619
emojis
преди 3 години
RinRi-D
32b6139ac0
volume
преди 3 години
Ingo Feinerer
b14e039639
Follow International System of Units spacing rules
преди 5 години
Aaron Marcher
93daf4f35e
Add OS-support notice to README
преди 5 години
Michael Buch
a1ac203d16
Add ram and swap components on FreeBSD
преди 5 години
Ingo Feinerer
10bdf01b71
cpu_perc: Check for division by zero
преди 5 години
Ingo Feinerer
d518472e62
Fix CPU frequency on OpenBSD
преди 5 години
Michael Buch
a9193a757a
close file descriptors and fix return values
преди 5 години
Ingo Feinerer
c1dc896c80
Add native OpenBSD support for mute/volume
Based on functionality in dstat by Joerg Jung.
преди 5 години
Michael Buch
e724907cc3
wifi component on FreeBSD
преди 5 години
Michael Buch
86849d295b
Add FreeBSD support for netspeeds, entropy and ip components
преди 5 години
Aaron Marcher
b6d0bd2fe4
Update LICENSE
преди 5 години
Michael Buch
120d150594
Add support for cpu and uptime components on FreeBSD
преди 5 години
Michael Buch
ec306623df
Add FreeBSD support for temperature and battery components
преди 5 години
Aaron Marcher
dd7f1896aa
ram: Consistency with line breaks
преди 5 години
Aaron Marcher
e213b48122
Fix whitespace
преди 5 години
Aaron Marcher
96ddf4e1de
Consistency with 80 char limit and breaks
преди 5 години
Aaron Marcher
c93971748c
wifi_perc: Simplify on Linux
Remove unnecessary variable
преди 5 години
Aaron Marcher
acfa1f50c2
Simplify format specifiers for uintmax_t
преди 5 години
Aaron Marcher
c2492c3f99
cpu_freq: Simplify with E-notation
Thanks to the FRIGN
преди 5 години
Aaron Marcher
e20b50112e
cpu_freq: Change to 64 bit integers
Remove unnecessary cast to size_t
преди 5 години
Aaron Marcher
43a12832a3
Change uint64_t to uintmax_t
преди 5 години
Aaron Marcher
d76b1a21fc
battery: 64 bit ints on Linux
преди 5 години
Aaron Marcher
b792b7ab69
cpu: Use uint64_t on OpenBSD
преди 5 години
Aaron Marcher
609ef3aa1f
battery: Remove unnecessary defines for paths
преди 5 години
Aaron Marcher
16e15217c6
uptime: Improve typing and sort headers
преди 5 години
Aaron Marcher
d1e3398822
temperature: Improve types
преди 5 години
Aaron Marcher
ab4f24a612
ram: Check for theoretical division by zero
преди 5 години
Aaron Marcher
fa7c266e2b
ram: Use POSIX types
преди 5 години
Aaron Marcher
b65c058598
entropy: Use POSIX types for format specifiers
преди 5 години
Aaron Marcher
c59b64e643
entropy: Improve types
преди 5 години
Aaron Marcher
51ff7ce2b9
Consistent paramter naming for components
преди 5 години
Aaron Marcher
efa26f4f35
slstatus.h: Fix coding style
Function declarations should include variable names.
For functions with different parameters on different platfroms they are
left out.
преди 5 години
Aaron Marcher
381c2fa12a
fmt_human: Improve types
size_t may not be enough, use 64 bit integers
преди 5 години
Aaron Marcher
1452a44832
Add Ian Remmler to LICENSE
преди 6 години
Ian Remmler
32e0a2bfcc
Add flexible formatting to keyboard_indicators.
Updated for style.
преди 6 години
Tobias Tschinkowitz
005b541717
uptime: unification of the uptime function for linux/openbsd
преди 6 години
Tobias Tschinkowitz
8c8091f4f1
wifi: fixed disconnected wifi status on openbsd
преди 6 години
Aaron Marcher
b0401b13bb
Clean up header includes
- Remove <errno.h> because related functions are in util.c now
- Remove corresponding <string.h> if not used otherwise
преди 6 години
Aaron Marcher
c0436810ef
Update LICENSE for Quentin
преди 6 години
Quentin Rameau
7fe240856e
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.
преди 6 години
Laslo Hunhold
81d5b427cb
Don't explicitly list each component-target
I made a mistake while reading the Posix spec. In fact, the implicit
prerequisite imposed by the .c.o-rule is evaluated as expected, even if
the .c is not given in the target rule.
This partially reverts 0efd64ffaa
.
преди 6 години
Tobias Tschinkowitz
0c29fc56f9
swap: removed unused include
преди 6 години
Laslo Hunhold
a18439af11
Refactor swap.c to use getline() instead of buf-filling
This drops a lot of code and even though we are using a common function,
the specification of only the needed things keeps it very efficient and
even more efficient in memory and time than the previous solution.
преди 6 години
Aaron Marcher
5d6415608b
Update LICENSE for Tobias
преди 6 години
Laslo Hunhold
cd884c2f0a
Fix object order and stop using a GNU make idiom
преди 6 години
Laslo Hunhold
0efd64ffaa
Explicitly list component-objects in the Makefile
There was a long tinkering process at farbfeld about this, but the sad
truth is that it's the only way to make the Makefile truly portable.
Listing it just as
$(COM:=.o): config.mk $(REQ:=.h)
omits the dependency on the c-file itself, which incurs that strictly
speaking the object file is not depending on the source file, which is
nonsense.
You don't see strictly Posix compliant Makefiles around very often and
most use nasty GNU-extensions everywhere. It is a good idea to go ahead
as a fitting example and show how to write them portably.
преди 6 години