Utkarsh Verma
10f7d9b8db
Get rid of all global variables
2023-10-25 20:00:08 +05:30
Utkarsh Verma
bc84d094cd
Rewrite the entire code-base
...
The following changes are focused upon:
- Modularity
- Doing away with globals
- No heap allocations
- Better command line interface
- Switch from Xlib to XCB
- More verbose type definitions
- Implement a single-file config by utilising X-macros
2023-10-25 17:37:23 +05:30
Utkarsh Verma
2773129533
Update clang-format
2023-04-06 06:18:16 +05:30
Utkarsh Verma
a9f7763596
Improve Makefile
2023-04-01 11:21:42 +05:30
Utkarsh Verma
2395be73c8
Update Makefile
2023-03-30 07:04:11 +05:30
Utkarsh Verma
8dd9bc6a7d
Reorganize code and remove hack for empty block outputs
2023-03-28 08:17:16 +05:30
HelionSmoker
f6a5fa6480
Improve grammar of README
2023-03-25 21:39:27 +05:30
Juan Ignacio Díaz
88048a74d1
use DefaultRootWindow macro
2022-09-20 12:31:23 -03:00
Utkarsh Verma
6a97f4d0c5
Support upto 256 click events on a block. Fixes #32
2022-09-03 09:15:45 +02:00
Utkarsh Verma
647080cbed
Add .clang-format
2022-08-27 09:27:26 +02:00
Utkarsh Verma
098184d0c3
Improve Makefile
2022-08-24 18:37:38 +02:00
Utkarsh Verma
f1c037037d
Minor changes
2022-07-13 07:54:12 +05:30
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