Aaron Marcher [Mon, 12 Sep 2016 09:47:48 +0000 (11:47 +0200)]
Merge pull request #14 from R41z/master
cpu_perc() workaround
Aaron Marcher [Mon, 12 Sep 2016 09:28:54 +0000 (11:28 +0200)]
fixed wifi_perc() typo
Ali H. Fardan [Sun, 11 Sep 2016 10:57:04 +0000 (13:57 +0300)]
fixed (hopefully) the vol_perc() function
Ali H. Fardan [Sun, 11 Sep 2016 10:33:35 +0000 (13:33 +0300)]
fixed cpu_perc() stupidity && added some useful comment for drkh5h
Aaron Marcher [Fri, 9 Sep 2016 19:12:13 +0000 (21:12 +0200)]
added my fancy icon
Aaron Marcher [Fri, 9 Sep 2016 17:26:06 +0000 (19:26 +0200)]
brought back update interval
Aaron Marcher [Fri, 9 Sep 2016 17:21:26 +0000 (19:21 +0200)]
removed more unneeded comments
Aaron Marcher [Fri, 9 Sep 2016 17:19:46 +0000 (19:19 +0200)]
fixed username function (wtf happened here?)
Aaron Marcher [Fri, 9 Sep 2016 17:18:14 +0000 (19:18 +0200)]
fixed run_command behaviour for emtpy command output (uninitialized)
Aaron Marcher [Fri, 9 Sep 2016 17:15:43 +0000 (19:15 +0200)]
coding style fixes
Aaron Marcher [Fri, 9 Sep 2016 17:12:08 +0000 (19:12 +0200)]
removed that status_reset (we will do that with signals) and loop.sh (we wont need it)
Aaron Marcher [Fri, 9 Sep 2016 17:07:25 +0000 (19:07 +0200)]
Merge branch 'R41z-master'
Ali H. Fardan [Thu, 8 Sep 2016 01:45:00 +0000 (04:45 +0300)]
use warn[x]() instead of long fprintf()s
Ali H. Fardan [Thu, 8 Sep 2016 01:31:49 +0000 (04:31 +0300)]
used ccat() from concat.h for string concatenation
Ali H. Fardan [Sun, 4 Sep 2016 23:28:18 +0000 (02:28 +0300)]
fixed some mistakes
Ali H. Fardan [Sun, 4 Sep 2016 23:17:30 +0000 (02:17 +0300)]
what kind of weed is that?
Ali H. Fardan [Sun, 4 Sep 2016 22:40:47 +0000 (01:40 +0300)]
bringed back the old config.mk
Ali H. Fardan [Sun, 4 Sep 2016 22:40:10 +0000 (01:40 +0300)]
bringed back the old config.mk
Ali H. Fardan [Sun, 4 Sep 2016 22:21:03 +0000 (01:21 +0300)]
bringed back the loop
Ali H. Fardan [Sun, 4 Sep 2016 22:18:55 +0000 (01:18 +0300)]
imported a new vol_perc() function, this should fix #12 (UNTESTED)
Ali H. Fardan [Sun, 4 Sep 2016 22:13:48 +0000 (01:13 +0300)]
added a tool for resetting the status bar && worked around some issues && removed the makefile (we need a better one)
Ali H. Fardan [Sun, 4 Sep 2016 21:56:22 +0000 (00:56 +0300)]
config.mk cleanup
Ali H. Fardan [Sat, 3 Sep 2016 21:10:49 +0000 (00:10 +0300)]
added daemonization support
Ali H. Fardan [Sat, 3 Sep 2016 18:43:05 +0000 (21:43 +0300)]
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 [Fri, 2 Sep 2016 19:13:58 +0000 (22:13 +0300)]
removed setstatus() && simplified main()
Ali H. Fardan [Thu, 1 Sep 2016 18:54:00 +0000 (21:54 +0300)]
NOTREACHED comment
Ali H. Fardan [Thu, 1 Sep 2016 18:51:32 +0000 (21:51 +0300)]
simplified gid()
Ali H. Fardan [Thu, 1 Sep 2016 18:35:32 +0000 (21:35 +0300)]
simplified uid() and fixed username()
Ali H. Fardan [Thu, 1 Sep 2016 18:15:40 +0000 (21:15 +0300)]
removed unnecessary typecast and added more comments
Ali H. Fardan [Thu, 1 Sep 2016 18:02:17 +0000 (21:02 +0300)]
removed unneeded headers
Ali H. Fardan [Wed, 31 Aug 2016 11:29:27 +0000 (14:29 +0300)]
opened the file before the path concatenates, what an idiot
Ali H. Fardan [Wed, 31 Aug 2016 03:10:53 +0000 (06:10 +0300)]
forgot to give entropy() some candy too
Ali H. Fardan [Wed, 31 Aug 2016 03:00:14 +0000 (06:00 +0300)]
slow down boy! you opened the file too early!
Ali H. Fardan [Tue, 30 Aug 2016 23:17:42 +0000 (02:17 +0300)]
removed vol function from the default config file
Ali H. Fardan [Tue, 30 Aug 2016 18:50:40 +0000 (21:50 +0300)]
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 [Sun, 28 Aug 2016 16:27:01 +0000 (19:27 +0300)]
used a different implementation of smprintf() imported from dwmstatus
Ali H. Fardan [Sun, 28 Aug 2016 15:19:53 +0000 (18:19 +0300)]
worked around the buffer overrun in smprintf()
Ali H. Fardan [Sun, 28 Aug 2016 13:39:04 +0000 (16:39 +0300)]
removed heap dependency in datetime() and simplified the function
Ali H. Fardan [Sun, 28 Aug 2016 13:30:12 +0000 (16:30 +0300)]
FIXME: buffer overflow warning
Ali H. Fardan [Sun, 28 Aug 2016 13:24:19 +0000 (16:24 +0300)]
removed a misplaced ';'
Ali H. Fardan [Sun, 28 Aug 2016 13:20:50 +0000 (16:20 +0300)]
used constant string literals && remote initialization to in battery_perc() && trying to fix possible buffer overflow
Ali H. Fardan [Sun, 28 Aug 2016 12:33:31 +0000 (15:33 +0300)]
grammar correction
Ali H. Fardan [Thu, 25 Aug 2016 20:26:17 +0000 (23:26 +0300)]
removing typecasts for pcm_mixer cause more issues than before
Ali H. Fardan [Tue, 23 Aug 2016 11:16:45 +0000 (14:16 +0300)]
typofix && another update
Ali H. Fardan [Tue, 23 Aug 2016 11:13:23 +0000 (14:13 +0300)]
another update to README
Ali H. Fardan [Tue, 23 Aug 2016 11:11:55 +0000 (14:11 +0300)]
README update
Ali H. Fardan [Tue, 23 Aug 2016 10:27:42 +0000 (13:27 +0300)]
removed unnecessary typecasts (might be a reason for snd_mixer_selem_get_playback_volume_range bug
Ali H. Fardan [Sun, 21 Aug 2016 13:00:34 +0000 (16:00 +0300)]
status_string can hold 4096 bytes now
Ali H. Fardan [Sun, 21 Aug 2016 12:43:57 +0000 (15:43 +0300)]
fixed compiler warnings in a better way
Ali H. Fardan [Sun, 21 Aug 2016 12:21:20 +0000 (15:21 +0300)]
corrected the time format
Ali H. Fardan [Sun, 21 Aug 2016 12:20:07 +0000 (15:20 +0300)]
rm .config.h.swp
Ali H. Fardan [Sun, 21 Aug 2016 12:19:45 +0000 (15:19 +0300)]
fixed the code, works now
Ali H. Fardan [Sun, 21 Aug 2016 09:04:01 +0000 (12:04 +0300)]
Added myself to CONTRIBUTORS.md by drkh5h's request
Ali H. Fardan [Sun, 21 Aug 2016 09:00:51 +0000 (12:00 +0300)]
(void)ed the prototypes
Ali H. Fardan [Sun, 21 Aug 2016 08:28:42 +0000 (11:28 +0300)]
set local function as static
Ali H. Fardan [Sun, 21 Aug 2016 08:10:37 +0000 (11:10 +0300)]
-Wextra
Ali H. Fardan [Sun, 21 Aug 2016 08:10:14 +0000 (11:10 +0300)]
the code describes itself, there is no need to write stories in /* */
Ali H. Fardan [Sat, 20 Aug 2016 21:28:36 +0000 (00:28 +0300)]
braces are unneeded for one-liner if()/while()
Ali H. Fardan [Sat, 20 Aug 2016 21:00:23 +0000 (00:00 +0300)]
added bounds checking via secure strl*() routines
Aaron Marcher [Thu, 18 Aug 2016 13:03:43 +0000 (15:03 +0200)]
remove screenshot
Aaron Marcher [Thu, 18 Aug 2016 13:02:51 +0000 (15:02 +0200)]
update sloc count in readme
Aaron Marcher [Thu, 18 Aug 2016 13:01:19 +0000 (15:01 +0200)]
remove todo item
Aaron Marcher [Thu, 18 Aug 2016 12:55:05 +0000 (14:55 +0200)]
suckless coding style fix -> remove slstatus.h
Aaron Marcher [Thu, 18 Aug 2016 11:45:06 +0000 (13:45 +0200)]
added all functions to readme
Aaron Marcher [Thu, 18 Aug 2016 11:43:18 +0000 (13:43 +0200)]
added uptime function
Aaron Marcher [Thu, 18 Aug 2016 11:30:45 +0000 (13:30 +0200)]
load avg
Aaron Marcher [Thu, 18 Aug 2016 11:03:42 +0000 (13:03 +0200)]
added configuration option for n/a text
Aaron Marcher [Tue, 16 Aug 2016 15:40:25 +0000 (17:40 +0200)]
Added \n to all error messages.
Aaron Marcher [Tue, 16 Aug 2016 15:34:50 +0000 (17:34 +0200)]
Removed the debug gcc flags
Aaron Marcher [Tue, 16 Aug 2016 09:41:43 +0000 (11:41 +0200)]
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 [Mon, 15 Aug 2016 14:40:56 +0000 (16:40 +0200)]
simplified ram function
Aaron Marcher [Mon, 15 Aug 2016 14:28:02 +0000 (16:28 +0200)]
simplified wifi_essid by removing one malloc()
Aaron Marcher [Mon, 15 Aug 2016 14:10:42 +0000 (16:10 +0200)]
this project is now licensed under the ISC license
Aaron Marcher [Mon, 15 Aug 2016 12:43:29 +0000 (14:43 +0200)]
added wifi essid
Aaron Marcher [Mon, 15 Aug 2016 11:08:34 +0000 (13:08 +0200)]
fixed strcat null possibility in main()
Aaron Marcher [Mon, 15 Aug 2016 10:59:45 +0000 (12:59 +0200)]
fixed strlen-bomb in run_command
Aaron Marcher [Mon, 15 Aug 2016 10:43:43 +0000 (12:43 +0200)]
fixed memleak in datetime()
Aaron Marcher [Mon, 15 Aug 2016 10:34:45 +0000 (12:34 +0200)]
void argument main()
Aaron Marcher [Mon, 15 Aug 2016 10:26:00 +0000 (12:26 +0200)]
Fixed alsa function + datetime function
Aaron Marcher [Mon, 15 Aug 2016 10:23:35 +0000 (12:23 +0200)]
Added shell command function
Aaron Marcher [Thu, 30 Jun 2016 16:36:24 +0000 (18:36 +0200)]
revised readme
Aaron Marcher [Thu, 30 Jun 2016 16:29:11 +0000 (18:29 +0200)]
revised readme
Aaron Marcher [Tue, 14 Jun 2016 17:19:25 +0000 (19:19 +0200)]
README update (included information)
Aaron Marcher [Mon, 13 Jun 2016 16:49:50 +0000 (18:49 +0200)]
added, username, gid, uid
Aaron Marcher [Fri, 10 Jun 2016 17:13:13 +0000 (19:13 +0200)]
added disk functions for details
Aaron Marcher [Fri, 10 Jun 2016 16:46:47 +0000 (18:46 +0200)]
added memory values ram functions
Aaron Marcher [Fri, 10 Jun 2016 16:22:05 +0000 (18:22 +0200)]
fixed hostname function and added HOST_NAME_MAX limit
Aaron Marcher [Fri, 10 Jun 2016 13:53:07 +0000 (15:53 +0200)]
hostname function
Aaron Marcher [Wed, 8 Jun 2016 07:42:32 +0000 (09:42 +0200)]
added ip address function
Aaron Marcher [Fri, 3 Jun 2016 11:04:15 +0000 (13:04 +0200)]
added entropy
Aaron Marcher [Sun, 20 Mar 2016 16:07:00 +0000 (17:07 +0100)]
Added icon to TODO.md
Aaron Marcher [Sun, 20 Mar 2016 13:20:22 +0000 (14:20 +0100)]
typo license != license.md :P
Aaron Marcher [Sun, 20 Mar 2016 13:18:05 +0000 (14:18 +0100)]
Changes to documentation and new screenshot.
- Better README.md
- Headlines in all files
- CONTRIBUTING.md
- New screenshot
Aaron Marcher [Fri, 18 Mar 2016 15:15:05 +0000 (16:15 +0100)]
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 [Thu, 17 Mar 2016 18:15:17 +0000 (19:15 +0100)]
Merge pull request #10 from sahne/master
Fix some memory leaks
Daniel Walter [Thu, 17 Mar 2016 18:12:47 +0000 (19:12 +0100)]
Fix some memory leaks
Aaron Marcher [Wed, 16 Mar 2016 08:01:07 +0000 (09:01 +0100)]
added license info to slstatus.h
Aaron Marcher [Wed, 16 Mar 2016 07:45:19 +0000 (08:45 +0100)]
header
Aaron Marcher [Tue, 15 Mar 2016 10:28:14 +0000 (11:28 +0100)]
removed from todo
Aaron Marcher [Tue, 15 Mar 2016 10:21:36 +0000 (11:21 +0100)]
added some todos