Xinqi Bao's Git
projects
/
slstatus.git
/ history
summary
|
log
|
commit
|
diff
|
tree
first
⋅
prev
⋅
next
Increase precision in netspeeds.c
[slstatus.git]
/
slstatus.c
2016-10-08
Ali H. Fardan
hostname: use POSIX routine to get hostname rather...
blob
|
commitdiff
|
raw
2016-10-08
user
vol_perc: return zero if the value of max is set to...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
braces for one line statements in smprintf()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
shorter copyright notice and moved back VERSION and...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
Merge pull request #19 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Ali H. Fardan
several changes
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
suckless coding style -> added back function prototypes...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
added -v command line option
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
simpler usage
blob
|
commitdiff
|
raw
|
diff to current
2016-09-18
Aaron Marcher
do not exit on failed smprintf
blob
|
commitdiff
|
raw
|
diff to current
2016-09-17
Aaron Marcher
n/a for run_command()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-17
Aaron Marcher
fuck newlines
blob
|
commitdiff
|
raw
|
diff to current
2016-09-17
Aaron Marcher
moved headers to extern
blob
|
commitdiff
|
raw
|
diff to current
2016-09-17
Aaron Marcher
shorter names
blob
|
commitdiff
|
raw
|
diff to current
2016-09-17
Aaron Marcher
only open and close display if output type is dwm
blob
|
commitdiff
|
raw
|
diff to current
2016-09-17
Aaron Marcher
coding style fixes + better var names
blob
|
commitdiff
|
raw
|
diff to current
2016-09-16
Aaron Marcher
added daemonization, output possibility to console...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Aaron Marcher
fixed run_command()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Aaron Marcher
Merge pull request #18 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
variable initialization is back
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
simplified run_command()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Aaron Marcher
Merge pull request #17 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
improved hostname()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Aaron Marcher
hostname() null terminaiton subtraction *is* needed
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Aaron Marcher
Merge pull request #16 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
malloc sucks, you know?
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
* != **
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
minor improvements and memory leak fix
blob
|
commitdiff
|
raw
|
diff to current
2016-09-14
Ali H. Fardan
Merge branch 'master' of https://github.com/drkh5h...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
battery_state() function added
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
fixed vol_perc() typo and added % sign again
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
simplified vol_perc() (and with that config.def.h is...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
lol, battery_perc() is even simpler, fuck this shit :D
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
simplified battery_perc() a lot and removed useless...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
set old WM_NAME content before exiting
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
sighandle forgot const
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
signal handling to exit gracefully + small coding style...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
simplify status_string clearing
blob
|
commitdiff
|
raw
|
diff to current
2016-09-13
Aaron Marcher
Fixes issue #15. Forgot to close() a socket in wifi_ess...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-12
Ali H. Fardan
subtraction is unneeded
blob
|
commitdiff
|
raw
|
diff to current
2016-09-12
Aaron Marcher
coding style (global variables)
blob
|
commitdiff
|
raw
|
diff to current
2016-09-12
Aaron Marcher
Merge pull request #14 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-09-12
Aaron Marcher
fixed wifi_perc() typo
blob
|
commitdiff
|
raw
|
diff to current
2016-09-11
Ali H. Fardan
fixed (hopefully) the vol_perc() function
blob
|
commitdiff
|
raw
|
diff to current
2016-09-11
Ali H. Fardan
fixed cpu_perc() stupidity && added some useful comment...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-09
Aaron Marcher
brought back update interval
blob
|
commitdiff
|
raw
|
diff to current
2016-09-09
Aaron Marcher
removed more unneeded comments
blob
|
commitdiff
|
raw
|
diff to current
2016-09-09
Aaron Marcher
fixed username function (wtf happened here?)
blob
|
commitdiff
|
raw
|
diff to current
2016-09-09
Aaron Marcher
fixed run_command behaviour for emtpy command output...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-09
Aaron Marcher
coding style fixes
blob
|
commitdiff
|
raw
|
diff to current
2016-09-09
Aaron Marcher
Merge branch 'R41z-master'
blob
|
commitdiff
|
raw
|
diff to current
2016-09-08
Ali H. Fardan
use warn[x]() instead of long fprintf()s
blob
|
commitdiff
|
raw
|
diff to current
2016-09-08
Ali H. Fardan
used ccat() from concat.h for string concatenation
blob
|
commitdiff
|
raw
|
diff to current
2016-09-04
Ali H. Fardan
fixed some mistakes
blob
|
commitdiff
|
raw
|
diff to current
2016-09-04
Ali H. Fardan
what kind of weed is that?
blob
|
commitdiff
|
raw
|
diff to current
2016-09-04
Ali H. Fardan
bringed back the loop
blob
|
commitdiff
|
raw
|
diff to current
2016-09-04
Ali H. Fardan
imported a new vol_perc() function, this should fix...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-04
Ali H. Fardan
added a tool for resetting the status bar && worked...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-03
Ali H. Fardan
added daemonization support
blob
|
commitdiff
|
raw
|
diff to current
2016-09-03
Ali H. Fardan
removed UPDATE_INTERVAL, it is neat to have it but...
blob
|
commitdiff
|
raw
|
diff to current
2016-09-02
Ali H. Fardan
removed setstatus() && simplified main()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-01
Ali H. Fardan
NOTREACHED comment
blob
|
commitdiff
|
raw
|
diff to current
2016-09-01
Ali H. Fardan
simplified gid()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-01
Ali H. Fardan
simplified uid() and fixed username()
blob
|
commitdiff
|
raw
|
diff to current
2016-09-01
Ali H. Fardan
removed unnecessary typecast and added more comments
blob
|
commitdiff
|
raw
|
diff to current
2016-09-01
Ali H. Fardan
removed unneeded headers
blob
|
commitdiff
|
raw
|
diff to current
2016-08-31
Ali H. Fardan
opened the file before the path concatenates, what...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-31
Ali H. Fardan
forgot to give entropy() some candy too
blob
|
commitdiff
|
raw
|
diff to current
2016-08-31
Ali H. Fardan
slow down boy! you opened the file too early!
blob
|
commitdiff
|
raw
|
diff to current
2016-08-30
Ali H. Fardan
got rid of conditional assignments && improved the...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-28
Ali H. Fardan
used a different implementation of smprintf() imported...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-28
Ali H. Fardan
worked around the buffer overrun in smprintf()
blob
|
commitdiff
|
raw
|
diff to current
2016-08-28
Ali H. Fardan
removed heap dependency in datetime() and simplified...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-28
Ali H. Fardan
FIXME: buffer overflow warning
blob
|
commitdiff
|
raw
|
diff to current
2016-08-28
Ali H. Fardan
used constant string literals && remote initialization...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-25
Ali H. Fardan
removing typecasts for pcm_mixer cause more issues...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-23
Ali H. Fardan
removed unnecessary typecasts (might be a reason for...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-21
Ali H. Fardan
status_string can hold 4096 bytes now
blob
|
commitdiff
|
raw
|
diff to current
2016-08-21
Ali H. Fardan
fixed compiler warnings in a better way
blob
|
commitdiff
|
raw
|
diff to current
2016-08-21
Ali H. Fardan
fixed the code, works now
blob
|
commitdiff
|
raw
|
diff to current
2016-08-21
Ali H. Fardan
(void)ed the prototypes
blob
|
commitdiff
|
raw
|
diff to current
2016-08-21
Ali H. Fardan
set local function as static
blob
|
commitdiff
|
raw
|
diff to current
2016-08-21
Ali H. Fardan
the code describes itself, there is no need to write...
blob
|
commitdiff
|
raw
|
diff to current
2016-08-20
Ali H. Fardan
braces are unneeded for one-liner if()/while()
blob
|
commitdiff
|
raw
|
diff to current
2016-08-20
Ali H. Fardan
added bounds checking via secure strl*() routines
blob
|
commitdiff
|
raw
|
diff to current
2016-08-18
Aaron Marcher
suckless coding style fix -> remove slstatus.h
blob
|
commitdiff
|
raw
|
diff to current
2016-08-18
Aaron Marcher
added uptime function
blob
|
commitdiff
|
raw
|
diff to current
2016-08-18
Aaron Marcher
load avg
blob
|
commitdiff
|
raw
|
diff to current
2016-08-18
Aaron Marcher
added configuration option for n/a text
blob
|
commitdiff
|
raw
|
diff to current
2016-08-16
Aaron Marcher
Added \n to all error messages.
blob
|
commitdiff
|
raw
|
diff to current
2016-08-16
Aaron Marcher
Formatting commit :(
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
simplified ram function
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
simplified wifi_essid by removing one malloc()
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
added wifi essid
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
fixed strcat null possibility in main()
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
fixed strlen-bomb in run_command
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
fixed memleak in datetime()
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
void argument main()
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
Fixed alsa function + datetime function
blob
|
commitdiff
|
raw
|
diff to current
2016-08-15
Aaron Marcher
Added shell command function
blob
|
commitdiff
|
raw
|
diff to current
next