Commit Graph

49 Commits

Author SHA1 Message Date
Utkarsh Verma 39dc44cf89
Update README 2022-07-10 14:21:58 +05:30
Utkarsh Verma be46e8a8bd
Set session ID for fork. Fixes #28 2022-07-10 14:15:32 +05:30
Utkarsh Verma cdc992cc41
Refactor X11 part 2022-06-27 02:38:11 +05:30
Utkarsh Verma 65bfd0eef5
Improve UTF8 trimming algorithm 2022-05-01 15:27:30 +05:30
Utkarsh Verma 6cdd6f7ff2
Fix crashing of dwmblocks 2022-04-22 06:21:11 +05:30
Utkarsh Verma 09e72e590d
maxInterval should bet at least 1 2022-04-21 19:04:41 +05:30
Utkarsh Verma 23e1d5732a
Use SIGALRM for timer and get rid of the child process 2022-04-21 18:40:09 +05:30
Utkarsh Verma f04d21fa22
Handle UTF-8 characters properly for CMDLENGTH 2022-04-19 16:48:17 +05:30
Utkarsh Verma c720d07df8
Handle the bytesRead = CMDLENGTH case properly 2022-02-26 08:55:50 +05:30
Utkarsh Verma 1676c07b8f
Refresh all blocks on receiving SIGUSR1 2022-02-16 14:12:55 +05:30
Utkarsh Verma 4f4976500a
Refactor code 2022-01-18 23:58:48 +05:30
Utkarsh Verma c62ed677a7
Add image to README 2022-01-18 22:47:00 +05:30
Utkarsh Verma 3afc4d7d24
Ignore all realtime signals to avoid crash. Closes #14 2022-01-18 22:30:20 +05:30
Utkarsh Verma 2e1e93c3da
Refactor code and remove rate-limiting logic 2022-01-17 13:10:43 +05:30
Utkarsh Verma 589d320b2e
Update README and config.h 2022-01-16 22:49:08 +05:30
Utkarsh Verma 0471144a2e
Ensure that only one execution happens per block at an instance 2022-01-16 22:48:47 +05:30
Utkarsh Verma 0bc49aa703
Fix #12 and refactor code 2022-01-16 16:30:39 +05:30
Utkarsh Verma 7df6de59b5
Handle block output excess properly 2022-01-03 10:34:20 +05:30
Utkarsh Verma 978229b265
Make BLOCK definition pedantic 2022-01-02 23:47:27 +05:30
Utkarsh Verma 97ec586b82
Trim trailing spaces as well 2021-12-30 11:03:42 +05:30
Utkarsh Verma 172a239edb
Handle trimming of unicode characters properly 2021-12-30 10:44:06 +05:30
Utkarsh Verma 6d762615dd
Rename TRAILING_DELIMITER to LEADING_DELIMITER 2021-10-19 17:21:18 +05:30
Utkarsh Verma 0f980d0682
Update README 2021-10-17 07:39:35 +05:30
Utkarsh Verma ede3944dc6
Update README 2021-10-17 07:32:31 +05:30
Utkarsh Verma 3d55e4b10f
Make block clickability optional 2021-10-17 07:28:15 +05:30
Utkarsh Verma f12b56e203
Create FUNDING.yml 2021-10-16 10:35:18 +05:30
Utkarsh Verma 5a3097a13d
Update README and close file descriptors on exit 2021-10-16 09:32:18 +05:30
Utkarsh Verma eaee001006
Update README 2021-10-15 15:38:36 +05:30
Utkarsh Verma 68d3792030
Handle empty command outputs properly 2021-10-15 15:26:08 +05:30
Utkarsh Verma 22916019dc
Properly take care of the underscore in command outputs 2021-10-15 15:00:43 +05:30
Utkarsh Verma 3fff34b8da
Improve polling and handle only one signal per poll 2021-10-15 13:22:10 +05:30
Utkarsh Verma c050132065
Poll every 100ms 2021-10-15 10:51:47 +05:30
Utkarsh Verma 6ba4ffbcfb
Update README 2021-10-15 10:41:45 +05:30
Utkarsh Verma 839ccc5b1d
Switch to poll-based execution of blocks 2021-10-15 10:24:32 +05:30
Utkarsh Verma 770742a8ee
Prevent writing of stale output to status when multiple signals are fired in a quick succession 2021-10-14 14:43:07 +05:30
Utkarsh Verma 034f33bc41
Add TRAILING_DELIMITER option 2021-10-13 21:28:49 +05:30
Utkarsh Verma 68ffb1f8ed
Improve CMDLENGTH logic 2021-10-13 06:37:55 +05:30
Utkarsh Verma 47e7097dbc
Update README 2021-10-12 20:37:59 +05:30
Utkarsh Verma 65d12cf3c9
Refactor code and turn on compiler optimizations 2021-10-12 20:23:42 +05:30
Utkarsh Verma a1727ce4c8
Fix typo in macro definition 2021-10-12 11:13:08 +05:30
Utkarsh Verma f4a1a63485
Implement asynchronous block execution 2021-10-12 10:06:31 +05:30
Utkarsh Verma 060a64bfce
Use signals above 16 as powerline status uses the ones below. 2021-10-07 11:00:49 +05:30
allacee 9b42cdba27
Fix mouse click handling 2021-10-07 10:40:19 +05:30
Utkarsh Verma 968ceac7f3
Execute blocks asynchronously 2021-04-21 18:24:39 +05:30
Utkarsh Verma 62b67552e6
Fix slow loading on first status printing. 2021-04-13 12:19:34 +05:30
Utkarsh Verma 5465c43cff
Improve sleep mechanism. 2021-04-13 11:05:21 +05:30
Utkarsh Verma 90da29d54f
Update README. 2021-03-23 09:45:48 +05:30
Utkarsh Verma 1d936dcadd
Add README.md 2021-03-22 11:15:40 +05:30
Utkarsh Verma 0fc72ee4b4
Initial commit. 2021-03-20 15:22:45 +05:30