Commit graph

74 commits

Author SHA1 Message Date
Ashish Kumar Yadav def465d760 Use void for functions with no parameters 2021-08-17 22:04:37 +05:30
Ashish Kumar Yadav 28b7776611 Cleanup before exit 2021-08-06 21:50:09 +05:30
Ashish Kumar Yadav c1ff32f912 Specifically set sigchld handler to SIG_IGN
See https://pubs.opengroup.org/onlinepubs/9699919799/functions/_Exit.html#tag_16_01_03_01
2021-08-04 01:58:47 +05:30
Ashish Kumar Yadav be75f21fd2 Use CLOEXEC for ConnectionNumber(dpy) as well 2021-08-03 19:38:37 +05:30
Ashish Kumar Yadav 56b636492a Use O_CLOEXEC flag instead of ugly hack 2021-08-03 19:24:12 +05:30
Ashish Kumar Yadav 5ee5010a26 Fixed bug - fd of LOCKFILE should be closed before spawn 2021-08-03 16:58:21 +05:30
Ashish Kumar Yadav 92cd084cfe /tmp is volatile, is deleted after 10 days 2021-06-21 17:56:36 +05:30
Ashish Kumar Yadav a99b2b13e3 Fixed exit bugs; check signals getting out of range 2021-04-04 20:36:29 +05:30
Ashish Kumar Yadav 839261d66b Improved out of range handling of interval specification 2021-04-04 19:37:38 +05:30
Ashish Kumar Yadav c265691e73 Improved interval handling 2021-04-04 13:33:06 +05:30
Ashish Kumar Yadav 0e65963446 DELIMITERLENGTH might possibly be set to 0 in future 2021-03-28 12:51:48 +05:30
Ashish Kumar Yadav 801a3de6d7 Fixed subtle bug in and simplified updateblock 2021-03-28 12:46:35 +05:30
Ashish Kumar Yadav dbace38b2a Fixed potential buffer overflow in updatestatus 2021-03-28 12:46:03 +05:30
Ashish Kumar Yadav 9058770bb7 Small improvement in setupsignals 2021-03-06 03:32:38 +05:30
Ashish Kumar Yadav 20395ec3da Improvement in updatestatus 2021-02-11 20:41:01 +05:30
Ashish Kumar Yadav 988dd1e62b Cleanup 2021-02-11 02:21:00 +05:30
Ashish Kumar Yadav 7db0d7ec68 Fixed trivial bugs from last commit 2021-02-11 00:17:52 +05:30
Ashish Kumar Yadav 8f532bd657 Reorganization again 2021-02-11 00:16:35 +05:30
Ashish Kumar Yadav ab48cac19b Reorganization 2021-02-10 21:19:05 +05:30
Ashish Kumar Yadav bc0f134dda Cleanup; further optimization of updatestatus and updateblock 2021-02-10 21:02:27 +05:30
Ashish Kumar Yadav a58b4d6a80 Further optimizations related to updatestatus and updateblock 2021-02-10 13:29:43 +05:30
Ashish Kumar Yadav 07f444980d optimized updatestatus by using library functions 2021-02-09 20:51:47 +05:30
Ashish Kumar Yadav 161e0f5615 updateblock - nullterminate 2021-02-09 12:34:20 +05:30
Ashish Kumar Yadav 452d7850c2 Cleanup 2021-02-09 11:42:12 +05:30
Ashish Kumar Yadav 2c5ba57da2 Bug fix, cleanup; rewrote updatestatus, removed -d 2021-02-09 11:38:40 +05:30
Ashish Kumar Yadav 8c7c4d777b Renamed getcmd to updateblock 2021-01-20 13:17:26 +05:30
Ashish Kumar Yadav 9329d0dfe6 Fixed bug in getcmd 2021-01-20 13:07:11 +05:30
Ashish Kumar Yadav 7e121a6b63 Consistency 2021-01-10 13:25:58 +05:30
Ashish Kumar Yadav d021510bad Major bugfix related to pidfile 2021-01-10 05:26:10 +05:30
Ashish Kumar Yadav 152b3668f7 Bug fix and improvement - nanosleep 2020-12-29 13:56:08 +05:30
Ashish Kumar Yadav 1e61822f8e Added possibility to extend number of clickable blocks 2020-12-27 20:59:38 +05:30
Ashish Kumar Yadav 547bb3d699 sizeof will work for char 2020-12-09 02:13:39 +05:30
Ashish Kumar Yadav b43e93b418 Renamed few variables 2020-12-08 12:08:14 +05:30
Ashish Kumar Yadav cfafed075b A const pointer would be more appropriate 2020-12-05 03:38:37 +05:30
Ashish Kumar Yadav 37557a90bd Improved delimiter handling 2020-12-05 03:07:20 +05:30
Ashish Kumar Yadav c8fc778841 Improved sleep handling in statusloop 2020-12-04 12:19:12 +05:30
Ashish Kumar Yadav a52626ae33 Term handling improvements and refactoring 2020-11-25 01:41:52 +05:30
Ashish Kumar Yadav 01f1481f54 Renamed statusstr to statustext 2020-11-25 01:37:36 +05:30
Ashish Kumar Yadav 6101909568 Changed variable name current to block 2020-11-15 13:24:15 +05:30
Ashish Kumar Yadav d7a9975361 Increased default CMDLENGHTH to 50 2020-11-12 13:50:26 +05:30
Ashish Kumar Yadav b338589399 Improved comments in updatestatus 2020-10-23 18:57:13 +05:30
Ashish Kumar Yadav 448cdeb3d1 Fixed typo in an error info 2020-10-15 00:43:31 +05:30
Ashish Kumar Yadav 365a047960 Improved buttonhandler 2020-10-03 16:02:07 +05:30
Ashish Kumar Yadav ccf5da003a Corrected grammatical error in comments 2020-09-20 15:47:36 +05:30
Ashish Kumar Yadav 06bdc70c73 Comma will be more appropriate - updatestatus 2020-09-20 14:57:46 +05:30
Ashish Kumar Yadav c802081605 Improved and added comments in updatestatus 2020-09-20 14:56:00 +05:30
Ashish Kumar Yadav e0fa5c3700 Small improvement in updatestatus 2020-09-20 11:47:27 +05:30
Ashish Kumar Yadav e6844edbf1 Safeguarded dup2 and close sequence in getcmd 2020-08-24 04:19:45 +05:30
Ashish Kumar Yadav d4a726ad78 Replaced tabs with spaces in macros 2020-08-22 23:13:56 +05:30
Ashish Kumar Yadav 7450d0c537 Made checking for char explicit 2020-08-12 12:50:04 +05:30