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