all repos — slstatus @ 237a7720b710ade7aa8f2b852b43100de872248f

my build of slstatus (tools.suckless.org/slstatus/)

237a7720
Merge pull request #19 from R41z/master

several changes
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:44:48 +0200
fd36f65c
updated man page according to readme
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:08:21 +0200
fad39093
added -v to manpage
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:07:02 +0200
915eeb8b
lol, dwm != slstatus in manpage :D
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:06:28 +0200
dd0f0cd3
README.md reloaded
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:51:25 +0200
0fe8e5a9
suckless coding style -> added back function prototypes argument variable names
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:26:01 +0200
d1423010
config.mk comment about -Wno-unused-functions
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:22:12 +0200
cfa0d9e8
optimization
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:15:50 +0200
14749b6c
added -v command line option
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:03:53 +0200
dcc0cdde
simpler usage
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 16:57:55 +0200
db07244c
do not exit on failed smprintf
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 16:54:46 +0200
2fdb2ede
added man page
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 22:51:59 +0200
4a7aba51
added man page
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 22:51:49 +0200
fd0bb713
added optimization back (removed it for debugging some time ago)
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 22:03:56 +0200
9477f3b1
n/a for run_command()
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:16:27 +0200
c8926634
fuck newlines
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:10:26 +0200
18f7d999
removed TODO.md
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:08:31 +0200
37959ca5
moved headers to extern
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:07:03 +0200
d73118ea
shorter names
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 17:06:06 +0200
2e012d53
only open and close display if output type is dwm
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 16:53:45 +0200
4dcba6b7
coding style fixes + better var names
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 16:51:21 +0200
87eae6db
added daemonization, output possibility to console (for other programs) and moved the code to set WM_NAME to its own function as it is needed two times
Aaron Marcher info@nulltime.net
Fri, 16 Sep 2016 23:31:24 +0200
887b9bd3
fixed run_command()
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 18:42:51 +0200
ad03218f
Merge pull request #18 from R41z/master

simplified run_command()
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 16:47:28 +0200
5609b9d9
Merge pull request #17 from R41z/master

improved hostname()
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 11:27:19 +0200
6edc9599
do not overwrite config.h if config.def.h changes
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 11:08:37 +0200
1ad9f250
hostname() null terminaiton subtraction *is* needed
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 11:04:24 +0200
bca9b524
Merge pull request #16 from R41z/master

several improvements && memory leak fix.
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 10:58:14 +0200
f1310415
battery_state() function added
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 22:03:36 +0200
7aad78bd
fixed vol_perc() typo and added % sign again
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 21:11:11 +0200
87c1377b
simplified vol_perc() (and with that config.def.h is super clean)
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 21:08:44 +0200
74b6e340
lol, battery_perc() is even simpler, fuck this shit :D
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 21:05:49 +0200
2d1bbf0d
simplified battery_perc() a lot and removed useless options from config.def.h
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 20:54:45 +0200
60df4f0f
loop's not needed anymore
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:35:54 +0200
98e73240
set old WM_NAME content before exiting
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:34:25 +0200
ba2947ae
sighandle forgot const
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:21:54 +0200
67d3f9c5
signal handling to exit gracefully + small coding style fixes
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:09:01 +0200
a1c962f8
simplify status_string clearing
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 18:57:56 +0200
75b18533
Fixes issue #15. Forgot to close() a socket in wifi_essid()...
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 18:54:15 +0200
d19d4aa2
coding style (global variables)
Aaron Marcher info@nulltime.net
Mon, 12 Sep 2016 12:12:11 +0200
c0647e94
Merge pull request #14 from R41z/master

cpu_perc() workaround
Aaron Marcher info@nulltime.net
Mon, 12 Sep 2016 11:47:48 +0200
d5fb46e6
fixed wifi_perc() typo
Aaron Marcher info@nulltime.net
Mon, 12 Sep 2016 11:28:54 +0200
f901f4ce
added my fancy icon
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 21:12:13 +0200
217da011
brought back update interval
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:26:06 +0200
81997b32
removed more unneeded comments
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:21:26 +0200
545f1560
fixed username function (wtf happened here?)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:19:46 +0200
98f3985d
fixed run_command behaviour for emtpy command output (uninitialized)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:18:14 +0200
3bfa5fe6
coding style fixes
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:15:43 +0200
7710c9ed
removed that status_reset (we will do that with signals) and loop.sh (we wont need it)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:12:08 +0200
6518f41b
Merge branch 'R41z-master'
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:07:25 +0200
5c86bbd6
remove screenshot
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 15:03:43 +0200
7d8f5f48
update sloc count in readme
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 15:02:51 +0200
a149ec06
remove todo item
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 15:01:19 +0200
85dd971f
suckless coding style fix -> remove slstatus.h
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 14:55:05 +0200
c15e66ce
added all functions to readme
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:45:06 +0200
85a2b9b7
added uptime function
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:43:18 +0200
83c98554
load avg
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:30:45 +0200
1d43e2f2
added configuration option for n/a text
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:03:42 +0200
f549d018
Added \n to all error messages.
Aaron Marcher info@nulltime.net
Tue, 16 Aug 2016 17:40:25 +0200
f9748dcc
Removed the debug gcc flags
Aaron Marcher info@nulltime.net
Tue, 16 Aug 2016 17:34:50 +0200
ad8ab20c
Formatting commit :(

I know formatting commits suck... And I try to avoid them.

But this commit was absolutely necessary... The coding style in this
program was not ok and not the same over the whole program.

The commit is hard to read, but this is what I changed:
- Tabs for indentation instead of spaces
- Same style over the whole program (suckless style)
Aaron Marcher info@nulltime.net
Tue, 16 Aug 2016 11:41:43 +0200
ec353761
simplified ram function
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 16:40:56 +0200
85db24fe
simplified wifi_essid by removing one malloc()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 16:28:02 +0200
58c16312
this project is now licensed under the ISC license
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 16:10:42 +0200
093f39df
added wifi essid
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 14:43:29 +0200
4170970c
fixed strcat null possibility in main()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 13:08:34 +0200
df928892
fixed strlen-bomb in run_command
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:59:45 +0200
086a70cd
fixed memleak in datetime()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:43:43 +0200
a8d5bde6
void argument main()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:34:45 +0200
9078fb35
Fixed alsa function + datetime function
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:26:00 +0200
f6f0c895
Added shell command function
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:23:35 +0200
3c1a0391
revised readme
Aaron Marcher info@nulltime.net
Thu, 30 Jun 2016 18:36:24 +0200
2b8e2047
revised readme
Aaron Marcher info@nulltime.net
Thu, 30 Jun 2016 18:29:11 +0200
456be7ad
README update (included information)
Aaron Marcher info@nulltime.net
Tue, 14 Jun 2016 19:19:25 +0200
16716dd1
added, username, gid, uid
Aaron Marcher info@nulltime.net
Mon, 13 Jun 2016 18:49:50 +0200
fb524b60
added disk functions for details
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 19:13:13 +0200
688c2d43
added memory values ram functions
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 18:46:47 +0200
c7f3a407
fixed hostname function and added HOST_NAME_MAX limit
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 18:22:05 +0200
2e72b212
hostname function
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 15:53:07 +0200
67203c66
added ip address function
Aaron Marcher info@nulltime.net
Wed, 08 Jun 2016 09:42:32 +0200
5a943fa5
added entropy
Aaron Marcher info@nulltime.net
Fri, 03 Jun 2016 13:04:15 +0200
bf2cdd10
Added icon to TODO.md
Aaron Marcher info@nulltime.net
Sun, 20 Mar 2016 17:07:00 +0100
d5d86247
typo license != license.md :P
Aaron Marcher info@nulltime.net
Sun, 20 Mar 2016 14:20:22 +0100
27b9139d
Changes to documentation and new screenshot.

- Better README.md
- Headlines in all files
- CONTRIBUTING.md
- New screenshot
Aaron Marcher info@nulltime.net
Sun, 20 Mar 2016 14:18:05 +0100
02af858a
Easier info function names

All the info function names started with "get_", which I removed to make
it easier for the user to configure the program to its needs.
Additionally I renamed some functions (e.g. get_ram_usage) to better
names, making it easier to extend the program with ram usage / total
functions.
Aaron Marcher info@nulltime.net
Fri, 18 Mar 2016 16:15:05 +0100
09673777
Merge pull request #10 from sahne/master

Fix some memory leaks
Aaron Marcher info@nulltime.net
Thu, 17 Mar 2016 19:15:17 +0100
bc12a40d
added license info to slstatus.h
Aaron Marcher info@nulltime.net
Wed, 16 Mar 2016 09:01:07 +0100
ace0aa15
header
Aaron Marcher info@nulltime.net
Wed, 16 Mar 2016 08:45:19 +0100
291e2bcb
removed from todo
Aaron Marcher info@nulltime.net
Tue, 15 Mar 2016 11:28:14 +0100
b1ff7242
added some todos
Aaron Marcher info@nulltime.net
Tue, 15 Mar 2016 11:21:36 +0100
d3172a49
disk usage in README.md
Aaron Marcher info@nulltime.net
Mon, 14 Mar 2016 20:25:56 +0100
b176d0a2
completely new system: only values in config file get updated + cleaner code
Aaron Marcher info@nulltime.net
Mon, 14 Mar 2016 20:17:14 +0100
a97e8439
whitespace error
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:15:17 +0100
11cc0bce
removed todo
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:12:08 +0100
6624985c
fixed disk percent
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:11:15 +0100
faae8292
Merge pull request #9 from sahne/master

Add diskusage support
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:02:26 +0100
db63d3dc
Update README.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 18:01:39 +0100
94921691
Create TODO.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 18:00:40 +0100
ec320f42
Merge pull request #8 from Vlaix/master

Fixed locale defaulting to English
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 17:29:20 +0100
d4d2646f
added update_interval check to config_check()
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 15:50:35 +0100
83eae75d
coding style notice in README.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 15:12:09 +0100
7c16dce6
added sahne to contributors
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 15:01:28 +0100
1b65dec3
fixed some small things (update_interval) interferes with get_cpu_usage() and reordered)
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 14:59:37 +0100
e046ee18
Merge pull request #6 from sahne/master

minor cleanups and sanity checks
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 14:50:11 +0100
83e84beb
simplified config.def.h
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 11:11:39 +0100
175844da
Merge pull request #5 from Vlaix/master

Fixed small buffer in get_datetime()
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 10:59:59 +0100
f64bf0f0
better screenshot
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 10:29:22 +0100
11e9491f
small changes (var names)
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 08:37:20 +0100
2d1b9211
starting in README.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 07:51:04 +0100
6a0ae11a
put everything in logical order
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 16:30:52 +0100
8286bd8a
Merge pull request #4 from Vlaix/ram

Changed RAM calculation formula.
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 13:08:55 +0100
2fb476aa
contributors
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 11:26:19 +0100
b5813a7f
changed to easier variable names
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 11:21:35 +0100
8894244c
changed to 4 spaces indentation (2 are not enough)
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 11:13:27 +0100
ff6c029d
Merge pull request #3 from Vlaix/master

Fixed broken wifi
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 10:53:27 +0100
16d01e8d
Merge pull request #2 from pfannkuchengesicht/master

fixed some memory leaks
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 07:45:51 +0100
526955ec
fixed tabs xD
Aaron Marcher info@nulltime.net
Tue, 08 Mar 2016 18:39:18 +0100
4c67ce86
fixed typo in README.md (jpg <-> png)
Aaron Marcher info@nulltime.net
Tue, 08 Mar 2016 18:18:47 +0100
b415783c
added screenshot
Aaron Marcher info@nulltime.net
Tue, 08 Mar 2016 18:17:50 +0100
570ebe34
variable names
Aaron Marcher info@nulltime.net
Mon, 07 Mar 2016 10:08:04 +0100
cc85bcc4
commented and reordered
Aaron Marcher info@nulltime.net
Mon, 07 Mar 2016 10:00:02 +0100
6b2b839c
revised everything
Aaron Marcher info@nulltime.net
Sat, 05 Mar 2016 14:07:02 +0100
864f2246
added config.def.h handling and fixed typo
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 18:36:47 +0100
94ea78f0
initial commit
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 18:07:42 +0100
47a0e8de
Initial commit
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 10:46:19 +0100
12521e4e
fixed some memory leaks
Roy Freytag rfreytag@hs-mittweida.de
Tue, 08 Mar 2016 20:55:07 +0100
3b6f51f8
Fixed broken wifi
Fixed indentation
Removed trailig white spaces
Vincent Loupmon vincentloupmon@gmail.com
Wed, 09 Mar 2016 10:19:10 +0100
e241dbeb
Changed RAM calculation formula.

Former : MemTotal - MemAvailable
New : (MemTotal - MemFree) - (Buffers + Cached)
Vincent Loupmon vincentloupmon@gmail.com
Wed, 09 Mar 2016 12:38:22 +0100
790e150a
Fixed small buffer in get_datetime()

The buffer being hardcoded to 19 (the size expected from the default time format),
strftime() would fail on any format returning a longer buffer.
Changed it from 19 to 64 to accomodate longer formats.
Vincent Loupmon vincentloupmon@gmail.com
Thu, 10 Mar 2016 10:53:14 +0100
50219004
return n/a instead of exiting if a specific value cannot be read
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 13:09:24 +0100
b51721c6
add config checks on startup for better error handling
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 12:11:46 +0100
5295629c
add update_interval

add a short sleep to reduce load
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 11:55:42 +0100
410ba38a
make config.h target depending on config.def.h
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 11:55:12 +0100
046e273a
simplify smprintf by using vasprintf
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 11:49:48 +0100
552ba7fd
Fixed locale defaulting to English

Changed get_datetime() a bit so it respects the user-configured locale (to use time formats with strings for days, months etc.)

Same commit as last time, except it merges.
Vincent Loupmon vincentloupmon@gmail.com
Thu, 10 Mar 2016 16:50:32 +0100
21afb5a8
Add diskusage support

add support to show used disk for a given mountpoint
Daniel Walter d.walter@0x90.at
Fri, 11 Mar 2016 12:18:23 +0100
67f61b83
Fix some memory leaks
Daniel Walter dwalter@sigma-star.at
Thu, 17 Mar 2016 19:12:47 +0100
9b2dc253
use warn[x]() instead of long fprintf()s
Ali H. Fardan raiz@firemail.cc
Thu, 08 Sep 2016 04:45:00 +0300
2afea979
used ccat() from concat.h for string concatenation
Ali H. Fardan raiz@firemail.cc
Thu, 08 Sep 2016 04:31:49 +0300
113979e5
fixed some mistakes
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 02:28:18 +0300
720328ce
what kind of weed is that?
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 02:17:30 +0300
b9b6486c
bringed back the old config.mk
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:40:47 +0300
a66b73f5
bringed back the old config.mk
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:40:10 +0300
a4beda8e
bringed back the loop
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:21:03 +0300
52d19f95
imported a new vol_perc() function, this should fix #12 (UNTESTED)
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:18:55 +0300
9fa858da
added a tool for resetting the status bar && worked around some issues && removed the makefile (we need a better one)
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:13:48 +0300
1654efe1
config.mk cleanup
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 00:56:22 +0300
d3d8b8ee
added daemonization support
Ali H. Fardan raiz@firemail.cc
Sun, 04 Sep 2016 00:10:49 +0300
de4f20ac
removed UPDATE_INTERVAL, it is neat to have it but removing it is a tradeoff worth making, because the clock would act weird if this used to work with cpu_perc().
Ali H. Fardan raiz@firemail.cc
Sat, 03 Sep 2016 21:43:05 +0300
b650c438
removed setstatus() && simplified main()
Ali H. Fardan raiz@firemail.cc
Fri, 02 Sep 2016 22:13:58 +0300
d1ae2e78
NOTREACHED comment
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:54:00 +0300
d3a212da
simplified gid()
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:51:32 +0300
2f8335ab
simplified uid() and fixed username()
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:35:32 +0300
82514163
removed unnecessary typecast and added more comments
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:15:40 +0300
9e92d41d
removed unneeded headers
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:02:17 +0300
aa70b663
opened the file before the path concatenates, what an idiot
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 14:29:27 +0300
5e4dc85b
forgot to give entropy() some candy too
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 06:10:53 +0300
cd3c0849
slow down boy! you opened the file too early!
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 06:00:14 +0300
b800eb21
removed vol function from the default config file
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 02:17:42 +0300
0aefd57f
got rid of conditional assignments && improved the error messages to output more info && added bound checks for fscanf() in hostname() (a dirty hack) && fixed a bug or two && some tiny style corrections
Ali H. Fardan raiz@firemail.cc
Tue, 30 Aug 2016 21:50:40 +0300
5829cee2
used a different implementation of smprintf() imported from dwmstatus
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 19:27:01 +0300
94a62b86
worked around the buffer overrun in smprintf()
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 18:19:53 +0300
1d257999
removed heap dependency in datetime() and simplified the function
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:39:04 +0300
25eb9ff3
FIXME: buffer overflow warning
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:30:12 +0300
24c4134d
removed a misplaced ';'
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:24:19 +0300
47ddf938
used constant string literals && remote initialization to  in battery_perc() && trying to fix possible buffer overflow
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:20:50 +0300
674602c6
grammar correction
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 15:33:31 +0300
447283fd
removing typecasts for pcm_mixer cause more issues than before
Ali H. Fardan raiz@firemail.cc
Thu, 25 Aug 2016 23:26:17 +0300
ee5337ba
typofix && another update
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 14:16:45 +0300
5b609747
another update to README
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 14:13:23 +0300
b79837b0
README update
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 14:11:55 +0300
f9f72a06
removed unnecessary typecasts (might be a reason for snd_mixer_selem_get_playback_volume_range bug
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 13:27:42 +0300
ff013b5f
status_string can hold 4096 bytes now
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 16:00:34 +0300
6f31ca6c
fixed compiler warnings in a better way
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:43:57 +0300
8e039b9d
corrected the time format
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:21:20 +0300
fc5ae33f
rm .config.h.swp
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:20:07 +0300
f65fb9bc
fixed the code, works now
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:19:45 +0300
0da2af8c
Added myself to CONTRIBUTORS.md by drkh5h's request
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 12:04:01 +0300
b4f55e71
(void)ed the prototypes
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 12:00:51 +0300
46b6876d
set local function as static
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 11:28:42 +0300
73ec65a8
-Wextra
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 11:10:37 +0300
2e1eb518
the code describes itself, there is no need to write stories in /* */
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 11:10:14 +0300
18538845
braces are unneeded for one-liner if()/while()
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 00:28:36 +0300
e1ae7d3b
added bounds checking via secure strl*() routines
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 00:00:23 +0300
6cb5af2b
fixed (hopefully) the vol_perc() function
Ali H. Fardan raiz@firemail.cc
Sun, 11 Sep 2016 13:57:04 +0300
6d23d53d
fixed cpu_perc() stupidity && added some useful comment for drkh5h
Ali H. Fardan raiz@firemail.cc
Sun, 11 Sep 2016 13:33:35 +0300
bc38677f
malloc sucks, you know?
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:35:53 +0300
f28e2682
* != **
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:35:09 +0300
3e04f1d9
minor improvements and memory leak fix
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:31:01 +0300
81e8da5d
Merge branch 'master' of https://github.com/drkh5h/slstatus
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:24:53 +0300
e6158e30
subtraction is unneeded
Ali H. Fardan raiz@firemail.cc
Mon, 12 Sep 2016 13:51:43 +0300
56fffbce
improved hostname()
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 12:22:03 +0300
561de544
variable initialization is back
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 17:42:48 +0300
35f78627
simplified run_command()
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 16:20:20 +0300
f4a38338
several changes
Ali H. Fardan raiz@firemail.cc
Sun, 18 Sep 2016 22:27:04 +0300