summaryrefslogtreecommitdiff
path: root/dwmblocks.c
AgeCommit message (Collapse)Author
2021-07-08Latest updateGustaf Rydholm
2020-11-18Added the call to pclose() when the output from the command is emptyСтрахиња Радић
2020-09-09Only open X server once rather than open and close after every writeout.aidan
2020-09-05Consolidated X11 based code into the setroot functionaidan
This is to make it easier to build dwmblocks without xlib so you can use it on wayland or other x wms.
2020-08-29Fixed issue with empty command delimiteraidan
This meant that the delimiters were added when when both the icon and output where empty.
2020-08-27Merge pull request #29 from keikari/patch-2torrinfail
Fix, delimLen caused weird behaviour
2020-08-27fixed output from commands without a newline end.aidan
This is useful when using commands such as tr -d '\n' to strip newlines from output.
2020-08-19Unified style for if, for, and while statements. As well as generalaidan
code cleanup.
2020-08-16Update dwmblocks.ckeikari
2020-08-16Update dwmblocks.ckeikari
2020-08-15Small fixkeikari
delimLen didn't count in null-terminator. On line 62 the null terminator character doesn't get copied.
2020-08-14Manual merge of pull request #19. This adds multi-character delimiter.aidan
Thanks to tph5595.
2020-08-14Removed call to redundant call to exit()aidan
2020-08-12fixed signal handling on OpenBSD by using SIGUSR1 instead of SIGRTMIN.aidan
This should not affect other platforms at all.
2020-08-11Merge pull request #15 from tomboehmer/issue9torrinfail
Fixes #9 - determine the size of the status buffer based on the number of blocks
2020-06-11Merge pull request #8 from markcaudill/mastertorrinfail
This merge adds fix for issue #5 which @markcaudill fixed by having all real-time signals handled by a dummy handler if it doesn't have a refresh signal .
2020-05-28Fixes #9 - determine the size of the status buffer based on the number of blocksTom Böhmer
prevents dwmblocks from crashing because of the status string getting longer than the underlying buffer
2020-04-16removed unused replace functionaidan
2020-04-01Proposed fix for issue #5.Mark Caudill
Initialize all signals from RTMIN to RTMAX with a dummy handler before actually setting the "real" handlers.
2019-12-16Added ifndef for openbsd compatibility. SIGRTMIN is not defined onAidan
OpenBSD.
2019-11-30Switched to fgets instead of using fgetcAidan
2019-11-30fixed issue causing segfault on ARM systemsAidan
2019-11-27Fixed garbled last commitAidan Hubert
2019-11-26Added -p option for printing to stdout rather then setting the root window ↵Aidan
for compatibility with other wms.
2019-11-13Made dwmblocks way more efficient by only setting the name of the root ↵Aidan
window when something has changed.
2019-11-07Revert "Changed delimeter to accept multiple characters."Aidan
Bug was found where certain modules caused dwm to lag horribly. Reverting until a fix can be found. This reverts commit 3da92ebccb863394a3501ce2d9cbe60ad9aafc8c.
2019-11-04Changed delimeter to accept multiple characters.Aidan
2019-03-29added icons and delimeterAidan
2019-03-24Fixed for loop in getstatus()Aidan
2019-03-24Added function declarations and renamed setrootcmd to statusstr.Aidan
2019-03-24Added code files, and Makefile.Aidan