mintycube
283aef15bc
Add gitattributes
2024-07-22 14:31:01 +05:00
mintycube
bd2594edee
Add my config
2024-06-25 16:45:53 +05:00
Utkarsh Verma
fe538a7a2f
feat: Add support for block-specific icons
...
Icons can now be specified on a per-block basis. Closes #64 .
2024-04-20 08:49:01 +05:30
Utkarsh Verma
8ebe985db8
fix: Ensure that all blocks execute on SIGUSR1. ( closes #63 )
2024-03-19 06:53:49 +05:30
Utkarsh Verma
dea248b824
build: Add DEBUG option
2024-03-19 06:52:21 +05:30
Utkarsh Verma
12d4decdd4
fix: Fix timer logic for blocks
2023-12-19 09:51:41 +05:30
Utkarsh Verma
c42a4215c8
tidy: Remove unnecessary newline from Makefile
2023-11-22 20:41:12 +05:30
Luca Bilke
56e6e2ef64
fix: Rename headers to allow compilation against musl libc
...
tidy: Format includes
2023-11-22 20:38:55 +05:30
Utkarsh Verma
5f45160b65
fix: Fix command-line argument parsing order
2023-11-22 15:41:31 +05:30
Utkarsh Verma
df76bd50f2
fix: Remove invalid strcat invocation for TRAILING_DELIMITER
...
Fixes #51
2023-11-20 15:02:27 +05:30
Utkarsh Verma
c166ffe0b4
refactor: Add clang-tidy checks and simplify codebase
2023-11-16 11:01:07 +05:30
Utkarsh Verma
f18100c2ee
tidy: Remove unused include
2023-11-01 15:44:24 +05:30
Utkarsh Verma
5211be61d9
README: Remove unnecessary newline
2023-10-25 20:02:33 +05:30
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