Commit graph

  • 7392dbabeb
    kernel_release() coding style and position in code fix Aaron Marcher 2016-12-28 23:59:19 +0100
  • c2808b6d99
    refactor vol_perc to not depend on alsa libraries parazyd 2016-12-28 00:41:51 +0100
  • cfb4a5d3ff 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 raiz 2016-12-27 20:41:40 +0300
  • d1dd72bae9 another TODO update raiz 2016-12-27 20:33:28 +0300
  • 2994a8d0ba TODO update raiz 2016-12-27 20:32:22 +0300
  • cf67aebec5 homepage update raiz 2016-12-27 20:20:45 +0300
  • ba0f0998d9 extern/concat.h: don't segfault if count == 0 raiz 2016-12-27 20:18:33 +0300
  • e9f738b8b6 whhops, my bad raiz 2016-12-27 20:18:09 +0300
  • 94e87eb8ba wifi_essid: add boundary check && prevent the use of direct string literal as a format string in snprintf() raiz 2016-12-27 20:14:45 +0300
  • 11fec4fa95 don't allow the use of perc if uninitialized raiz 2016-12-27 20:09:07 +0300
  • 8b5b72b65e remove misleading comment raiz 2016-12-27 19:57:16 +0300
  • 13772c3979 get rid of set_status() since it's only used once raiz 2016-12-27 19:56:11 +0300
  • 3c8717f4e0 allow the use of %* symbols in UNKNOWN_STR raiz 2016-12-27 19:53:46 +0300
  • 7db4f5cf67 add extra error tests to swap_*() && fix bytes_read bug raiz 2016-12-27 19:49:31 +0300
  • a36cb96f27 swap_*(): add more error tests raiz 2016-12-27 19:26:04 +0300
  • 862d158b7c fix delay in a cleaner way raiz 2016-12-27 19:12:39 +0300
  • 6cab2d5719 remove newlines from warn() in swap_*(), those functions already print a newline after printing string stderr raiz 2016-12-27 19:07:19 +0300
  • e1c5476291 inititalize run_command()'s buf to UNKNOWN_STR by default raiz 2016-12-27 18:58:31 +0300
  • b7f4541506 remove newline character from run_command() output accurately raiz 2016-12-27 18:57:27 +0300
  • 3bfc3bbcae strtok() has no effect on buf && fgets() should have the full buffer length raiz 2016-12-27 18:54:16 +0300
  • f62d626d9b whhops raiz 2016-12-18 10:36:01 +0300
  • 5a218e990c remove unused strlcpy() and reduce the size of output buffer raiz 2016-12-18 10:35:36 +0300
  • 1a143566e6 Merge pull request #30 from TheMRod/master Aaron Marcher 2016-11-16 21:20:26 +0100
  • c3eb0c4012 Add "uname -r" functionality Mike Coddington 2016-11-03 11:49:09 -0500
  • bcd5732b04 Merge pull request #25 from jodizzle/dev/swap Aaron Marcher 2016-10-28 16:27:19 +0200
  • 9bef4e889a swap: Print UNKNOWN_STR if no swap is allocated Jody Leonard 2016-10-15 19:50:02 -0400
  • 4d6761e0c7 Update README.md Jody Leonard 2016-10-15 06:49:33 -0400
  • 46fb6abdc0 Edit config.def.h function descriptions Jody Leonard 2016-10-15 06:36:21 -0400
  • c60af317f3 Add functions for measuring swap Jody Leonard 2016-10-14 05:44:46 -0400
  • 59ed3b6d8d Merge pull request #24 from jodizzle/feat/mute Aaron Marcher 2016-10-13 12:15:18 +0200
  • 393b09644a vol_perc: Return "mute" when mixer is muted Jody Leonard 2016-10-13 03:20:36 -0400
  • 97c745e10e Merge pull request #23 from R41z/master Aaron Marcher 2016-10-12 22:01:46 +0200
  • 39fa14916b get rid of unused variable (silly gcc did not report that error) Ali H. Fardan 2016-10-12 20:54:45 +0300
  • 8830aeef77
    added quinq to contributors Aaron Marcher 2016-10-10 20:05:33 +0200
  • e1b89581d2
    add setlocale() (mostly for datetime function) Aaron Marcher 2016-10-10 18:58:06 +0200
  • 3971c1f47c
    check daemon() return value Aaron Marcher 2016-10-10 18:52:46 +0200
  • 6890a27a3a
    fixed run_command() Aaron Marcher 2016-10-10 09:19:44 +0200
  • 5a70f920f0
    fixed run_command() Aaron Marcher 2016-10-10 09:02:24 +0200
  • cc1bb3a344
    removed unnecessary fp, shorter return 0 and fixed compiler warning in vol_perc Aaron Marcher 2016-10-09 14:06:04 +0200
  • 5e7aa2a321 Merge pull request #20 from R41z/master Aaron Marcher 2016-10-09 13:50:02 +0200
  • 4339c8330a hostname: use POSIX routine to get hostname rather than reading from procfs Ali H. Fardan 2016-10-08 19:55:25 +0300
  • fb440d8f62 vol_perc: return zero if the value of max is set to zero user 2016-10-08 19:50:53 +0300
  • 6239e5de17 added name to LICENSE Aaron Marcher 2016-10-05 22:56:25 +0200
  • 3a3a3e4101 better default config.h Aaron Marcher 2016-10-05 11:40:36 +0200
  • a2d2e801a2 3.0 Aaron Marcher 2016-09-19 11:17:51 +0200
  • c5ace949e4 braces for one line statements in smprintf() Aaron Marcher 2016-09-18 22:01:44 +0200
  • bad8dc682d shorter copyright notice and moved back VERSION and _GNU_SOURCE as the man page version number fails Aaron Marcher 2016-09-18 22:00:50 +0200
  • 237a7720b7 Merge pull request #19 from R41z/master Aaron Marcher 2016-09-18 21:44:48 +0200
  • f4a383382c several changes Ali H. Fardan 2016-09-18 22:27:04 +0300
  • fd36f65cc7 updated man page according to readme Aaron Marcher 2016-09-18 21:08:21 +0200
  • fad39093cc added -v to manpage Aaron Marcher 2016-09-18 21:07:02 +0200
  • 915eeb8b49 lol, dwm != slstatus in manpage :D Aaron Marcher 2016-09-18 21:06:28 +0200
  • dd0f0cd30e README.md reloaded Aaron Marcher 2016-09-18 17:51:25 +0200
  • 0fe8e5a961 suckless coding style -> added back function prototypes argument variable names Aaron Marcher 2016-09-18 17:26:01 +0200
  • d1423010d0 config.mk comment about -Wno-unused-functions Aaron Marcher 2016-09-18 17:22:12 +0200
  • cfa0d9e8fe optimization Aaron Marcher 2016-09-18 17:15:50 +0200
  • 14749b6c87 added -v command line option Aaron Marcher 2016-09-18 17:03:53 +0200
  • dcc0cddee4 simpler usage Aaron Marcher 2016-09-18 16:57:55 +0200
  • db07244cb8 do not exit on failed smprintf Aaron Marcher 2016-09-18 16:54:46 +0200
  • 2fdb2ede04 added man page Aaron Marcher 2016-09-17 22:51:59 +0200
  • 4a7aba5151 added man page Aaron Marcher 2016-09-17 22:51:49 +0200
  • fd0bb713d7 added optimization back (removed it for debugging some time ago) Aaron Marcher 2016-09-17 22:03:56 +0200
  • 9477f3b1d1 n/a for run_command() Aaron Marcher 2016-09-17 18:16:27 +0200
  • c8926634be fuck newlines Aaron Marcher 2016-09-17 18:10:26 +0200
  • 18f7d99909 removed TODO.md Aaron Marcher 2016-09-17 18:08:31 +0200
  • 37959ca569 moved headers to extern Aaron Marcher 2016-09-17 18:07:03 +0200
  • d73118eaa4 shorter names Aaron Marcher 2016-09-17 17:06:06 +0200
  • 2e012d533e only open and close display if output type is dwm Aaron Marcher 2016-09-17 16:53:45 +0200
  • 4dcba6b7e8 coding style fixes + better var names Aaron Marcher 2016-09-17 16:51:21 +0200
  • 87eae6db03 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 2016-09-16 23:31:24 +0200
  • 887b9bd3e3 fixed run_command() Aaron Marcher 2016-09-14 18:42:51 +0200
  • ad03218fd5 Merge pull request #18 from R41z/master Aaron Marcher 2016-09-14 16:47:28 +0200
  • 561de544e7 variable initialization is back Ali H. Fardan 2016-09-14 17:42:48 +0300
  • 35f7862744 simplified run_command() Ali H. Fardan 2016-09-14 16:20:20 +0300
  • 5609b9d9de Merge pull request #17 from R41z/master Aaron Marcher 2016-09-14 11:27:19 +0200
  • 56fffbce64 improved hostname() Ali H. Fardan 2016-09-14 12:22:03 +0300
  • 6edc959933 do not overwrite config.h if config.def.h changes Aaron Marcher 2016-09-14 11:08:37 +0200
  • 1ad9f2504d hostname() null terminaiton subtraction *is* needed Aaron Marcher 2016-09-14 11:04:24 +0200
  • bca9b5246a Merge pull request #16 from R41z/master Aaron Marcher 2016-09-14 10:58:14 +0200
  • bc38677f47 malloc sucks, you know? Ali H. Fardan 2016-09-14 03:35:53 +0300
  • f28e2682fd * != ** Ali H. Fardan 2016-09-14 03:35:09 +0300
  • 3e04f1d910 minor improvements and memory leak fix Ali H. Fardan 2016-09-14 03:31:01 +0300
  • 81e8da5d90 Merge branch 'master' of https://github.com/drkh5h/slstatus Ali H. Fardan 2016-09-14 03:24:53 +0300
  • f13104156f battery_state() function added Aaron Marcher 2016-09-13 22:03:36 +0200
  • 7aad78bd95 fixed vol_perc() typo and added % sign again Aaron Marcher 2016-09-13 21:11:11 +0200
  • 87c1377b08 simplified vol_perc() (and with that config.def.h is super clean) Aaron Marcher 2016-09-13 21:08:44 +0200
  • 74b6e340f2 lol, battery_perc() is even simpler, fuck this shit :D Aaron Marcher 2016-09-13 21:05:49 +0200
  • 2d1bbf0d35 simplified battery_perc() a lot and removed useless options from config.def.h Aaron Marcher 2016-09-13 20:54:45 +0200
  • 60df4f0f05 loop's not needed anymore Aaron Marcher 2016-09-13 19:35:54 +0200
  • 98e7324010 set old WM_NAME content before exiting Aaron Marcher 2016-09-13 19:34:25 +0200
  • ba2947ae45 sighandle forgot const Aaron Marcher 2016-09-13 19:21:54 +0200
  • 67d3f9c540 signal handling to exit gracefully + small coding style fixes Aaron Marcher 2016-09-13 19:09:01 +0200
  • a1c962f8a3 simplify status_string clearing Aaron Marcher 2016-09-13 18:57:56 +0200
  • 75b1853313 Fixes issue #15. Forgot to close() a socket in wifi_essid()... Aaron Marcher 2016-09-13 18:54:15 +0200
  • e6158e300d subtraction is unneeded Ali H. Fardan 2016-09-12 13:51:43 +0300
  • d19d4aa2e8 coding style (global variables) Aaron Marcher 2016-09-12 12:12:11 +0200
  • c0647e946f Merge pull request #14 from R41z/master Aaron Marcher 2016-09-12 11:47:48 +0200
  • d5fb46e61d fixed wifi_perc() typo Aaron Marcher 2016-09-12 11:28:54 +0200
  • 6cb5af2bd7 fixed (hopefully) the vol_perc() function Ali H. Fardan 2016-09-11 13:57:04 +0300
  • 6d23d53d1f fixed cpu_perc() stupidity && added some useful comment for drkh5h Ali H. Fardan 2016-09-11 13:33:35 +0300