b6b0be4f4f
Only open X server once rather than open and close after every writeout.
aidan
2020-09-09 13:10:49 -06:00
b7d1970488
Consolidated X11 based code into the setroot function This is to make it easier to build dwmblocks without xlib so you can use it on wayland or other x wms.
aidan
2020-09-05 15:48:54 -06:00
13c7700f34
Fixed issue with empty command delimiter This meant that the delimiters were added when when both the icon and output where empty.
aidan
2020-08-29 11:58:28 -06:00
500b1fbb0f
fixed output from commands without a newline end. This is useful when using commands such as tr -d '\n' to strip newlines from output.
aidan
2020-08-27 04:47:07 +00:00
904e407908
Added back the ability to change compiler with CC environment variable.
aidan
2020-08-19 10:12:37 -06:00
416a36d636
Unified style for if, for, and while statements. As well as general code cleanup.
aidan
2020-08-19 10:10:43 -06:00
5dcb2a0d84
fixed signal handling on OpenBSD by using SIGUSR1 instead of SIGRTMIN. This should not affect other platforms at all.
aidan
2020-08-12 10:24:42 -06:00
7e0bc3f580
added blocks.def.h to act as default blocks file so that changes made in the future will not affect csutom blocks.h files.
Aidan
2020-08-11 20:50:11 -06:00
fa4eeff38d
Added ifndef for openbsd compatibility. SIGRTMIN is not defined on OpenBSD.
Aidan
2019-12-16 14:35:29 -07:00
3906995607
Changed Makefile to use pkg-config to find libraries.
Aidan
2019-12-12 10:28:06 -07:00
377f990331
Switched to fgets instead of using fgetc
Aidan
2019-11-30 14:43:33 -07:00
09a00ab345
fixed issue causing segfault on ARM systems
Aidan
2019-11-30 02:05:10 -07:00
b685f2805f
Fixed garbled last commit
Aidan Hubert
2019-11-27 05:50:38 +00:00
1766af7d5e
Added -p option for printing to stdout rather then setting the root window for compatibility with other wms.
Aidan
2019-11-26 22:43:16 -07:00
a22c6311cc
Added -f option to rm in clean command.
Aidan
2019-11-26 22:42:27 -07:00
5ff59d4e8b
Made dwmblocks way more efficient by only setting the name of the root window when something has changed.
Aidan
2019-11-13 13:58:20 -07:00