Commit Graph

18 Commits (5dcb2a0d8413b6e12dfcd188567f95d3832bb2bb)

Author SHA1 Message Date
aidan 5dcb2a0d84 fixed signal handling on OpenBSD by using SIGUSR1 instead of SIGRTMIN.
This should not affect other platforms at all.
2020-08-12 10:24:42 -06:00
torrinfail d2e6d20ebf
Merge pull request #15 from tomboehmer/issue9
Fixes #9 - determine the size of the status buffer based on the number of blocks
2020-08-11 20:04:51 -07:00
torrinfail 31b9d65b31
Merge pull request #8 from markcaudill/master
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-06-11 01:13:49 -06:00
Tom Böhmer 4d92b6ca6c Fixes #9 - determine the size of the status buffer based on the number of blocks
prevents dwmblocks from crashing because of the status string getting
longer than the underlying buffer
2020-05-28 18:25:26 +02:00
aidan 030de220e4 removed unused replace function 2020-04-16 01:03:30 -06:00
Mark Caudill 06710ebd05 Proposed fix for issue #5.
Initialize all signals from RTMIN to RTMAX with a dummy handler before
actually setting the "real" handlers.
2020-04-01 11:45:00 -04:00
Aidan fa4eeff38d Added ifndef for openbsd compatibility. SIGRTMIN is not defined on
OpenBSD.
2019-12-16 14:35:29 -07:00
Aidan 377f990331 Switched to fgets instead of using fgetc 2019-11-30 14:43:33 -07:00
Aidan 09a00ab345 fixed issue causing segfault on ARM systems 2019-11-30 02:05:10 -07:00
Aidan Hubert b685f2805f Fixed garbled last commit 2019-11-27 05:50:38 +00:00
Aidan 1766af7d5e Added -p option for printing to stdout rather then setting the root window for compatibility with other wms. 2019-11-26 22:43:16 -07:00
Aidan 5ff59d4e8b Made dwmblocks way more efficient by only setting the name of the root window when something has changed. 2019-11-13 13:58:20 -07:00
Aidan 72dc44f963 Revert "Changed delimeter to accept multiple characters."
Bug was found where certain modules caused dwm to lag horribly.
Reverting until a fix can be found.
This reverts commit 3da92ebccb.
2019-11-07 13:07:19 -07:00
Aidan 3da92ebccb Changed delimeter to accept multiple characters. 2019-11-04 15:34:34 -07:00
Aidan 690475e1e5 added icons and delimeter 2019-03-29 21:10:46 -06:00
Aidan ce861dd798 Fixed for loop in getstatus() 2019-03-24 22:32:08 -06:00
Aidan 5ba902a666 Added function declarations and renamed setrootcmd to statusstr. 2019-03-24 21:51:40 -06:00
Aidan c97d6d119e Added code files, and Makefile. 2019-03-24 16:31:05 -06:00