suckless/slstatus.git
7 years agoMakefile: Added back config.h handling in Makefile
Aaron Marcher [Mon, 9 Jan 2017 08:21:18 +0000 (09:21 +0100)]
Makefile: Added back config.h handling in Makefile

7 years agoMakefile: Fixes #35
Aaron Marcher [Mon, 9 Jan 2017 07:24:26 +0000 (08:24 +0100)]
Makefile: Fixes #35

7 years agotodo
Aaron Marcher [Sat, 7 Jan 2017 21:34:45 +0000 (22:34 +0100)]
todo

7 years agoremoved ./extern/
Aaron Marcher [Sat, 7 Jan 2017 21:33:28 +0000 (22:33 +0100)]
removed ./extern/

7 years agoremoved strlcat dependency (was used only once)
Aaron Marcher [Sat, 7 Jan 2017 21:31:46 +0000 (22:31 +0100)]
removed strlcat dependency (was used only once)

7 years agogot rid of concat.h
Aaron Marcher [Sat, 7 Jan 2017 21:01:49 +0000 (22:01 +0100)]
got rid of concat.h

7 years agosaner makefile: cleaner, simpler, suckless
Aaron Marcher [Sat, 7 Jan 2017 20:49:10 +0000 (21:49 +0100)]
saner makefile: cleaner, simpler, suckless

7 years agohappy new year!
Aaron Marcher [Sat, 7 Jan 2017 20:28:22 +0000 (21:28 +0100)]
happy new year!

7 years agorun_command: strlen() will not function if string is not null terminated
Aaron Marcher [Sat, 7 Jan 2017 20:19:40 +0000 (21:19 +0100)]
run_command: strlen() will not function if string is not null terminated

7 years agoconsistent coding style: usage() declaration, eval is a constant
Aaron Marcher [Fri, 30 Dec 2016 22:13:21 +0000 (23:13 +0100)]
consistent coding style: usage() declaration, eval is a constant

7 years agoMerge pull request #34 from parazyd/master
Aaron Marcher [Fri, 30 Dec 2016 22:01:14 +0000 (23:01 +0100)]
Merge pull request #34 from parazyd/master

refactor vol_perc to not depend on alsa libraries

7 years agoMerge branch 'master' into master
parazyd [Fri, 30 Dec 2016 13:21:19 +0000 (14:21 +0100)]
Merge branch 'master' into master

7 years agoadd vol_perc notes, add braces to singleline statements
parazyd [Fri, 30 Dec 2016 11:16:07 +0000 (12:16 +0100)]
add vol_perc notes, add braces to singleline statements

7 years agowhy releases for such a small project? useless and overhead!
Aaron Marcher [Thu, 29 Dec 2016 22:36:05 +0000 (23:36 +0100)]
why releases for such a small project? useless and overhead!

7 years ago#undef strlcpy not needed anymore
Aaron Marcher [Thu, 29 Dec 2016 22:30:53 +0000 (23:30 +0100)]
#undef strlcpy not needed anymore

7 years agotested wifi
Aaron Marcher [Thu, 29 Dec 2016 22:30:17 +0000 (23:30 +0100)]
tested wifi

7 years agoMerge pull request #32 from R41z/master
Aaron Marcher [Thu, 29 Dec 2016 22:27:57 +0000 (23:27 +0100)]
Merge pull request #32 from R41z/master

several bugfixes and general improvements, see commits below.

7 years agoMerge branch 'master' into master
Aaron Marcher [Thu, 29 Dec 2016 22:27:44 +0000 (23:27 +0100)]
Merge branch 'master' into master

7 years agofix TODO markdown syntax && update
raiz [Thu, 29 Dec 2016 12:37:17 +0000 (15:37 +0300)]
fix TODO markdown syntax && update

7 years agoadd braces to single statements so drkhsh doesn't be upset
raiz [Thu, 29 Dec 2016 09:40:43 +0000 (12:40 +0300)]
add braces to single statements so drkhsh doesn't be upset

7 years agokernel_release() coding style and position in code fix
Aaron Marcher [Wed, 28 Dec 2016 22:59:19 +0000 (23:59 +0100)]
kernel_release() coding style and position in code fix

7 years agorefactor vol_perc to not depend on alsa libraries
parazyd [Tue, 27 Dec 2016 23:41:51 +0000 (00:41 +0100)]
refactor vol_perc to not depend on alsa libraries

7 years agousage(): return success if -h is called && print more appropriate usage, opts can...
raiz [Tue, 27 Dec 2016 17:41:40 +0000 (20:41 +0300)]
usage(): return success if -h is called && print more appropriate usage, opts can't be all called at the same time, that's why a separator is required

7 years agoanother TODO update
raiz [Tue, 27 Dec 2016 17:33:28 +0000 (20:33 +0300)]
another TODO update

7 years agoTODO update
raiz [Tue, 27 Dec 2016 17:32:22 +0000 (20:32 +0300)]
TODO update

7 years agohomepage update
raiz [Tue, 27 Dec 2016 17:20:45 +0000 (20:20 +0300)]
homepage update

7 years agoextern/concat.h: don't segfault if count == 0
raiz [Tue, 27 Dec 2016 17:18:33 +0000 (20:18 +0300)]
extern/concat.h: don't segfault if count == 0

7 years agowhhops, my bad
raiz [Tue, 27 Dec 2016 17:18:09 +0000 (20:18 +0300)]
whhops, my bad

7 years agowifi_essid: add boundary check && prevent the use of direct string literal as a forma...
raiz [Tue, 27 Dec 2016 17:14:45 +0000 (20:14 +0300)]
wifi_essid: add boundary check && prevent the use of direct string literal as a format string in snprintf()

7 years agodon't allow the use of perc if uninitialized
raiz [Tue, 27 Dec 2016 17:09:07 +0000 (20:09 +0300)]
don't allow the use of perc if uninitialized

7 years agoremove misleading comment
raiz [Tue, 27 Dec 2016 16:57:16 +0000 (19:57 +0300)]
remove misleading comment

7 years agoget rid of set_status() since it's only used once
raiz [Tue, 27 Dec 2016 16:56:11 +0000 (19:56 +0300)]
get rid of set_status() since it's only used once

7 years agoallow the use of %* symbols in UNKNOWN_STR
raiz [Tue, 27 Dec 2016 16:53:46 +0000 (19:53 +0300)]
allow the use of %* symbols in UNKNOWN_STR

7 years agoadd extra error tests to swap_*() && fix bytes_read bug
raiz [Tue, 27 Dec 2016 16:49:31 +0000 (19:49 +0300)]
add extra error tests to swap_*() && fix bytes_read bug

7 years agoswap_*(): add more error tests
raiz [Tue, 27 Dec 2016 16:26:04 +0000 (19:26 +0300)]
swap_*(): add more error tests

7 years agofix delay in a cleaner way
raiz [Tue, 27 Dec 2016 16:12:39 +0000 (19:12 +0300)]
fix delay in a cleaner way

7 years agoremove newlines from warn() in swap_*(), those functions already print a newline...
raiz [Tue, 27 Dec 2016 16:07:19 +0000 (19:07 +0300)]
remove newlines from warn() in swap_*(), those functions already print a newline after printing string stderr

7 years agoinititalize run_command()'s buf to UNKNOWN_STR by default
raiz [Tue, 27 Dec 2016 15:58:31 +0000 (18:58 +0300)]
inititalize run_command()'s buf to UNKNOWN_STR by default

7 years agoremove newline character from run_command() output accurately
raiz [Tue, 27 Dec 2016 15:57:27 +0000 (18:57 +0300)]
remove newline character from run_command() output accurately

7 years agostrtok() has no effect on buf && fgets() should have the full buffer length
raiz [Tue, 27 Dec 2016 15:54:16 +0000 (18:54 +0300)]
strtok() has no effect on buf && fgets() should have the full buffer length

7 years agowhhops
raiz [Sun, 18 Dec 2016 07:36:01 +0000 (10:36 +0300)]
whhops

7 years agoremove unused strlcpy() and reduce the size of output buffer
raiz [Sun, 18 Dec 2016 07:35:36 +0000 (10:35 +0300)]
remove unused strlcpy() and reduce the size of output buffer

7 years agoMerge pull request #30 from TheMRod/master
Aaron Marcher [Wed, 16 Nov 2016 20:20:26 +0000 (21:20 +0100)]
Merge pull request #30 from TheMRod/master

Add a "uname -r" feature to see which kernel is running

7 years agoAdd "uname -r" functionality
Mike Coddington [Thu, 3 Nov 2016 16:49:09 +0000 (11:49 -0500)]
Add "uname -r" functionality

7 years agoMerge pull request #25 from jodizzle/dev/swap
Aaron Marcher [Fri, 28 Oct 2016 14:27:19 +0000 (16:27 +0200)]
Merge pull request #25 from jodizzle/dev/swap

Add functions for measuring swap

8 years agoswap: Print UNKNOWN_STR if no swap is allocated
Jody Leonard [Sat, 15 Oct 2016 23:50:02 +0000 (19:50 -0400)]
swap: Print UNKNOWN_STR if no swap is allocated

8 years agoUpdate README.md
Jody Leonard [Sat, 15 Oct 2016 10:49:33 +0000 (06:49 -0400)]
Update README.md

8 years agoEdit config.def.h function descriptions
Jody Leonard [Sat, 15 Oct 2016 10:36:21 +0000 (06:36 -0400)]
Edit config.def.h function descriptions

8 years agoAdd functions for measuring swap
Jody Leonard [Fri, 14 Oct 2016 09:44:46 +0000 (05:44 -0400)]
Add functions for measuring swap

8 years agoMerge pull request #24 from jodizzle/feat/mute
Aaron Marcher [Thu, 13 Oct 2016 10:15:18 +0000 (12:15 +0200)]
Merge pull request #24 from jodizzle/feat/mute

Restore "mute" message

8 years agovol_perc: Return "mute" when mixer is muted
Jody Leonard [Thu, 13 Oct 2016 07:20:36 +0000 (03:20 -0400)]
vol_perc: Return "mute" when mixer is muted

This feature was originally removed as part of 52d19f9.

8 years agoMerge pull request #23 from R41z/master
Aaron Marcher [Wed, 12 Oct 2016 20:01:46 +0000 (22:01 +0200)]
Merge pull request #23 from R41z/master

get rid of unused variable (silly gcc did not report that error)

8 years agoget rid of unused variable (silly gcc did not report that error)
Ali H. Fardan [Wed, 12 Oct 2016 17:54:45 +0000 (20:54 +0300)]
get rid of unused variable (silly gcc did not report that error)

8 years agoadded quinq to contributors
Aaron Marcher [Mon, 10 Oct 2016 18:05:33 +0000 (20:05 +0200)]
added quinq to contributors

8 years agoadd setlocale() (mostly for datetime function)
Aaron Marcher [Mon, 10 Oct 2016 16:58:06 +0000 (18:58 +0200)]
add setlocale() (mostly for datetime function)

8 years agocheck daemon() return value
Aaron Marcher [Mon, 10 Oct 2016 16:52:46 +0000 (18:52 +0200)]
check daemon() return value

8 years agofixed run_command()
Aaron Marcher [Mon, 10 Oct 2016 07:19:44 +0000 (09:19 +0200)]
fixed run_command()

8 years agofixed run_command()
Aaron Marcher [Mon, 10 Oct 2016 07:02:24 +0000 (09:02 +0200)]
fixed run_command()

8 years agoremoved unnecessary fp, shorter return 0 and fixed compiler warning in vol_perc
Aaron Marcher [Sun, 9 Oct 2016 12:06:04 +0000 (14:06 +0200)]
removed unnecessary fp, shorter return 0 and fixed compiler warning in vol_perc

8 years agoMerge pull request #20 from R41z/master
Aaron Marcher [Sun, 9 Oct 2016 11:50:02 +0000 (13:50 +0200)]
Merge pull request #20 from R41z/master

fix division by zero in vol_perc, and hostname() rewrite

8 years agohostname: use POSIX routine to get hostname rather than reading from procfs
Ali H. Fardan [Sat, 8 Oct 2016 16:55:25 +0000 (19:55 +0300)]
hostname: use POSIX routine to get hostname rather than reading from procfs

8 years agovol_perc: return zero if the value of max is set to zero
user [Sat, 8 Oct 2016 16:50:53 +0000 (19:50 +0300)]
vol_perc: return zero if the value of max is set to zero

8 years agoadded name to LICENSE
Aaron Marcher [Wed, 5 Oct 2016 20:56:25 +0000 (22:56 +0200)]
added name to LICENSE

8 years agobetter default config.h
Aaron Marcher [Wed, 5 Oct 2016 09:40:36 +0000 (11:40 +0200)]
better default config.h

8 years ago3.0
Aaron Marcher [Mon, 19 Sep 2016 09:17:51 +0000 (11:17 +0200)]
3.0

8 years agobraces for one line statements in smprintf()
Aaron Marcher [Sun, 18 Sep 2016 20:01:44 +0000 (22:01 +0200)]
braces for one line statements in smprintf()

8 years agoshorter copyright notice and moved back VERSION and _GNU_SOURCE as the man page versi...
Aaron Marcher [Sun, 18 Sep 2016 20:00:50 +0000 (22:00 +0200)]
shorter copyright notice and moved back VERSION and _GNU_SOURCE as the man page version number fails

8 years agoMerge pull request #19 from R41z/master
Aaron Marcher [Sun, 18 Sep 2016 19:44:48 +0000 (21:44 +0200)]
Merge pull request #19 from R41z/master

several changes

8 years agoseveral changes
Ali H. Fardan [Sun, 18 Sep 2016 19:27:04 +0000 (22:27 +0300)]
several changes

8 years agoupdated man page according to readme
Aaron Marcher [Sun, 18 Sep 2016 19:08:21 +0000 (21:08 +0200)]
updated man page according to readme

8 years agoadded -v to manpage
Aaron Marcher [Sun, 18 Sep 2016 19:07:02 +0000 (21:07 +0200)]
added -v to manpage

8 years agolol, dwm != slstatus in manpage :D
Aaron Marcher [Sun, 18 Sep 2016 19:06:28 +0000 (21:06 +0200)]
lol, dwm != slstatus in manpage :D

8 years agoREADME.md reloaded
Aaron Marcher [Sun, 18 Sep 2016 15:51:25 +0000 (17:51 +0200)]
README.md reloaded

8 years agosuckless coding style -> added back function prototypes argument variable names
Aaron Marcher [Sun, 18 Sep 2016 15:26:01 +0000 (17:26 +0200)]
suckless coding style -> added back function prototypes argument variable names

8 years agoconfig.mk comment about -Wno-unused-functions
Aaron Marcher [Sun, 18 Sep 2016 15:22:12 +0000 (17:22 +0200)]
config.mk comment about -Wno-unused-functions

8 years agooptimization
Aaron Marcher [Sun, 18 Sep 2016 15:15:50 +0000 (17:15 +0200)]
optimization

8 years agoadded -v command line option
Aaron Marcher [Sun, 18 Sep 2016 15:03:53 +0000 (17:03 +0200)]
added -v command line option

8 years agosimpler usage
Aaron Marcher [Sun, 18 Sep 2016 14:57:55 +0000 (16:57 +0200)]
simpler usage

8 years agodo not exit on failed smprintf
Aaron Marcher [Sun, 18 Sep 2016 14:54:46 +0000 (16:54 +0200)]
do not exit on failed smprintf

8 years agoadded man page
Aaron Marcher [Sat, 17 Sep 2016 20:51:59 +0000 (22:51 +0200)]
added man page

8 years agoadded man page
Aaron Marcher [Sat, 17 Sep 2016 20:51:49 +0000 (22:51 +0200)]
added man page

8 years agoadded optimization back (removed it for debugging some time ago)
Aaron Marcher [Sat, 17 Sep 2016 20:03:56 +0000 (22:03 +0200)]
added optimization back (removed it for debugging some time ago)

8 years agon/a for run_command()
Aaron Marcher [Sat, 17 Sep 2016 16:16:27 +0000 (18:16 +0200)]
n/a for run_command()

8 years agofuck newlines
Aaron Marcher [Sat, 17 Sep 2016 16:10:26 +0000 (18:10 +0200)]
fuck newlines

8 years agoremoved TODO.md
Aaron Marcher [Sat, 17 Sep 2016 16:08:31 +0000 (18:08 +0200)]
removed TODO.md

8 years agomoved headers to extern
Aaron Marcher [Sat, 17 Sep 2016 16:07:03 +0000 (18:07 +0200)]
moved headers to extern

8 years agoshorter names
Aaron Marcher [Sat, 17 Sep 2016 15:06:06 +0000 (17:06 +0200)]
shorter names

8 years agoonly open and close display if output type is dwm
Aaron Marcher [Sat, 17 Sep 2016 14:53:45 +0000 (16:53 +0200)]
only open and close display if output type is dwm

8 years agocoding style fixes + better var names
Aaron Marcher [Sat, 17 Sep 2016 14:51:21 +0000 (16:51 +0200)]
coding style fixes + better var names

8 years agoadded daemonization, output possibility to console (for other programs) and moved...
Aaron Marcher [Fri, 16 Sep 2016 21:31:24 +0000 (23:31 +0200)]
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

8 years agofixed run_command()
Aaron Marcher [Wed, 14 Sep 2016 16:42:51 +0000 (18:42 +0200)]
fixed run_command()

8 years agoMerge pull request #18 from R41z/master
Aaron Marcher [Wed, 14 Sep 2016 14:47:28 +0000 (16:47 +0200)]
Merge pull request #18 from R41z/master

simplified run_command()

8 years agovariable initialization is back
Ali H. Fardan [Wed, 14 Sep 2016 14:42:48 +0000 (17:42 +0300)]
variable initialization is back

8 years agosimplified run_command()
Ali H. Fardan [Wed, 14 Sep 2016 13:20:20 +0000 (16:20 +0300)]
simplified run_command()

8 years agoMerge pull request #17 from R41z/master
Aaron Marcher [Wed, 14 Sep 2016 09:27:19 +0000 (11:27 +0200)]
Merge pull request #17 from R41z/master

improved hostname()

8 years agoimproved hostname()
Ali H. Fardan [Wed, 14 Sep 2016 09:22:03 +0000 (12:22 +0300)]
improved hostname()

8 years agodo not overwrite config.h if config.def.h changes
Aaron Marcher [Wed, 14 Sep 2016 09:08:37 +0000 (11:08 +0200)]
do not overwrite config.h if config.def.h changes

8 years agohostname() null terminaiton subtraction *is* needed
Aaron Marcher [Wed, 14 Sep 2016 09:04:24 +0000 (11:04 +0200)]
hostname() null terminaiton subtraction *is* needed

8 years agoMerge pull request #16 from R41z/master
Aaron Marcher [Wed, 14 Sep 2016 08:58:14 +0000 (10:58 +0200)]
Merge pull request #16 from R41z/master

several improvements && memory leak fix.

8 years agomalloc sucks, you know?
Ali H. Fardan [Wed, 14 Sep 2016 00:35:53 +0000 (03:35 +0300)]
malloc sucks, you know?