Commit Graph

  • 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
  • f901f4cece added my fancy icon Aaron Marcher 2016-09-09 21:12:13 +0200
  • 217da011dd brought back update interval Aaron Marcher 2016-09-09 19:26:06 +0200
  • 81997b327c removed more unneeded comments Aaron Marcher 2016-09-09 19:21:26 +0200
  • 545f1560e6 fixed username function (wtf happened here?) Aaron Marcher 2016-09-09 19:19:46 +0200
  • 98f3985d3e fixed run_command behaviour for emtpy command output (uninitialized) Aaron Marcher 2016-09-09 19:18:14 +0200
  • 3bfa5fe60d coding style fixes Aaron Marcher 2016-09-09 19:15:43 +0200
  • 7710c9ed85 removed that status_reset (we will do that with signals) and loop.sh (we wont need it) Aaron Marcher 2016-09-09 19:12:08 +0200
  • 6518f41b1f Merge branch 'R41z-master' Aaron Marcher 2016-09-09 19:07:25 +0200
  • 9b2dc25348 use warn[x]() instead of long fprintf()s Ali H. Fardan 2016-09-08 04:45:00 +0300
  • 2afea97987 used ccat() from concat.h for string concatenation Ali H. Fardan 2016-09-08 04:31:49 +0300
  • 113979e5b8 fixed some mistakes Ali H. Fardan 2016-09-05 02:28:18 +0300
  • 720328cef9 what kind of weed is that? Ali H. Fardan 2016-09-05 02:17:30 +0300
  • b9b6486cda bringed back the old config.mk Ali H. Fardan 2016-09-05 01:40:47 +0300
  • a66b73f5f2 bringed back the old config.mk Ali H. Fardan 2016-09-05 01:40:10 +0300
  • a4beda8eb9 bringed back the loop Ali H. Fardan 2016-09-05 01:21:03 +0300
  • 52d19f955e imported a new vol_perc() function, this should fix #12 (UNTESTED) Ali H. Fardan 2016-09-05 01:18:55 +0300
  • 9fa858daea added a tool for resetting the status bar && worked around some issues && removed the makefile (we need a better one) Ali H. Fardan 2016-09-05 01:13:48 +0300
  • 1654efe1d6 config.mk cleanup Ali H. Fardan 2016-09-05 00:56:22 +0300
  • d3d8b8ee03 added daemonization support Ali H. Fardan 2016-09-04 00:10:49 +0300
  • de4f20ace3 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 2016-09-03 21:43:05 +0300
  • b650c438f0 removed setstatus() && simplified main() Ali H. Fardan 2016-09-02 22:13:58 +0300
  • d1ae2e785d NOTREACHED comment Ali H. Fardan 2016-09-01 21:54:00 +0300
  • d3a212da7e simplified gid() Ali H. Fardan 2016-09-01 21:51:32 +0300
  • 2f8335abf0 simplified uid() and fixed username() Ali H. Fardan 2016-09-01 21:35:32 +0300
  • 825141633b removed unnecessary typecast and added more comments Ali H. Fardan 2016-09-01 21:15:40 +0300
  • 9e92d41db5 removed unneeded headers Ali H. Fardan 2016-09-01 21:02:17 +0300
  • aa70b66330 opened the file before the path concatenates, what an idiot Ali H. Fardan 2016-08-31 14:29:27 +0300
  • 5e4dc85bb9 forgot to give entropy() some candy too Ali H. Fardan 2016-08-31 06:10:53 +0300
  • cd3c084957 slow down boy! you opened the file too early! Ali H. Fardan 2016-08-31 06:00:14 +0300
  • b800eb21a3 removed vol function from the default config file Ali H. Fardan 2016-08-31 02:17:42 +0300
  • 0aefd57f9f 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 2016-08-30 21:50:40 +0300