Sravan Balaji
4dc68f322f
Full Battery Fix
...
- Add mapping for battery full
- Output remaining time if discharging, plug icon otherwise
2020-08-07 23:42:05 -04:00
Sravan Balaji
59be5d4cd5
Icon Changes & AC Power
...
- Remove dividers from inside battery_all_in_one function
- When there is no battery, show plug with AC
- Change charging status symbol to plug
- Move charging status in front of battery icon
- Change divider back to "|"
2020-08-07 23:05:55 -04:00
Sravan Balaji
764813c0c1
No Battery Fix
...
- Check if battery information directory exists before displaying info
- Fix divider spacing in battery-all-in-one
2020-08-07 00:05:13 -04:00
Sravan Balaji
1d22eea138
Battery All-In-One Function
...
- Condense separate battery functions into one that handles icons & dividers
- Only shows battery information if it exists
2020-08-06 23:44:03 -04:00
Sravan Balaji
6175a0caa3
Divider Cleanup
...
- Add divider symbol as variable
- Customize divider spacing with format rather than argument
2020-08-06 23:22:20 -04:00
Sravan Balaji
68ba5350ef
Icon Changes & Remove Username
...
- Define divider symbol individually
- Change divider to left angle
- Replace icons
- Remove username
2020-08-05 22:26:51 -04:00
Sravan Balaji
20beb5ca3e
Checkupdates & Divider Functions
...
- Add checkupdates function to count number of available updates
- Add divider function to print divider symbol as argument
- Update README with these modifications
2020-08-02 11:37:37 -04:00
Sravan Balaji
91c8d8a382
README Update
...
- Add list of personal modifications
- Convert to markdown
2020-08-01 23:14:52 -04:00
Sravan Balaji
a250d90ce6
gitignore & Status Bar Arguments
...
- Add gitignore for vscode, generated output, and executable
- Change unknown string to "?"
- Add variable for battery name
- Add arguments to status bar
2020-08-01 22:24:41 -04:00
Ingo Feinerer
b14e039639
Follow International System of Units spacing rules
2019-02-17 16:53:56 +01:00
Aaron Marcher
93daf4f35e
Add OS-support notice to README
2019-02-16 17:05:04 +01:00
Michael Buch
a1ac203d16
Add ram and swap components on FreeBSD
2019-02-16 16:58:34 +01:00
Ingo Feinerer
10bdf01b71
cpu_perc: Check for division by zero
2019-02-16 16:56:55 +01:00
Ingo Feinerer
d518472e62
Fix CPU frequency on OpenBSD
2019-02-13 18:04:14 +01:00
Michael Buch
a9193a757a
close file descriptors and fix return values
2019-02-13 15:23:04 +01:00
Ingo Feinerer
c1dc896c80
Add native OpenBSD support for mute/volume
...
Based on functionality in dstat by Joerg Jung.
2019-02-13 13:35:44 +01:00
Michael Buch
e724907cc3
wifi component on FreeBSD
2019-02-13 13:10:20 +01:00
Michael Buch
86849d295b
Add FreeBSD support for netspeeds, entropy and ip components
2019-02-07 12:23:01 +01:00
Aaron Marcher
b6d0bd2fe4
Update LICENSE
2019-02-05 09:32:47 +01:00
Michael Buch
120d150594
Add support for cpu and uptime components on FreeBSD
2019-02-05 09:31:06 +01:00
Michael Buch
ec306623df
Add FreeBSD support for temperature and battery components
2019-02-05 09:30:21 +01:00
Aaron Marcher
dd7f1896aa
ram: Consistency with line breaks
2018-07-08 17:45:32 +02:00
Aaron Marcher
e213b48122
Fix whitespace
2018-07-08 17:44:53 +02:00
Aaron Marcher
96ddf4e1de
Consistency with 80 char limit and breaks
2018-07-08 17:42:58 +02:00
Aaron Marcher
c93971748c
wifi_perc: Simplify on Linux
...
Remove unnecessary variable
2018-07-07 14:05:53 +02:00
Aaron Marcher
acfa1f50c2
Simplify format specifiers for uintmax_t
2018-07-07 11:08:26 +02:00
Aaron Marcher
c2492c3f99
cpu_freq: Simplify with E-notation
...
Thanks to the FRIGN
2018-07-07 10:56:10 +02:00
Aaron Marcher
e20b50112e
cpu_freq: Change to 64 bit integers
...
Remove unnecessary cast to size_t
2018-07-07 10:54:12 +02:00
Aaron Marcher
43a12832a3
Change uint64_t to uintmax_t
2018-07-07 10:50:25 +02:00
Aaron Marcher
d76b1a21fc
battery: 64 bit ints on Linux
2018-07-07 10:31:57 +02:00
Aaron Marcher
b792b7ab69
cpu: Use uint64_t on OpenBSD
2018-07-07 00:24:36 +02:00
Aaron Marcher
609ef3aa1f
battery: Remove unnecessary defines for paths
2018-07-06 23:55:18 +02:00
Aaron Marcher
16e15217c6
uptime: Improve typing and sort headers
2018-07-06 23:47:52 +02:00
Aaron Marcher
d1e3398822
temperature: Improve types
2018-07-06 23:41:02 +02:00
Aaron Marcher
ab4f24a612
ram: Check for theoretical division by zero
2018-07-06 23:38:12 +02:00
Aaron Marcher
fa7c266e2b
ram: Use POSIX types
2018-07-06 23:37:05 +02:00
Aaron Marcher
b65c058598
entropy: Use POSIX types for format specifiers
2018-07-06 23:26:12 +02:00
Aaron Marcher
c59b64e643
entropy: Improve types
2018-07-06 23:17:08 +02:00
Aaron Marcher
51ff7ce2b9
Consistent paramter naming for components
2018-07-06 08:08:48 +02:00
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.
2018-07-06 08:03:31 +02:00
Aaron Marcher
381c2fa12a
fmt_human: Improve types
...
size_t may not be enough, use 64 bit integers
2018-07-06 07:56:46 +02:00
Aaron Marcher
1452a44832
Add Ian Remmler to LICENSE
2018-06-04 14:07:20 +02:00
Ian Remmler
32e0a2bfcc
Add flexible formatting to keyboard_indicators.
...
Updated for style.
2018-06-04 14:06:11 +02:00
Tobias Tschinkowitz
005b541717
uptime: unification of the uptime function for linux/openbsd
2018-06-01 20:17:25 +02:00
Tobias Tschinkowitz
8c8091f4f1
wifi: fixed disconnected wifi status on openbsd
2018-05-31 15:10:04 +02:00
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
2018-05-30 19:35:37 +02:00
Aaron Marcher
c0436810ef
Update LICENSE for Quentin
2018-05-29 22:26:40 +02:00
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.
2018-05-29 22:26:05 +02:00
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
.
2018-05-29 21:25:39 +02:00
Tobias Tschinkowitz
0c29fc56f9
swap: removed unused include
2018-05-29 14:43:14 +02:00