Commit Graph

70 Commits

Author SHA1 Message Date
David JULIEN
b78f4dc620 feat: add torrent block 2021-03-25 12:56:27 +01:00
David JULIEN
3625829f14 feat: change update time for mail block 2021-03-25 12:56:06 +01:00
David JULIEN
bf487a1472 feat: put date module in a dedicated script 2021-02-16 20:59:41 +01:00
David JULIEN
629c40f1bf feat: put spaces in modules 2021-02-16 20:59:12 +01:00
David JULIEN
31ad768f96 feat: move mailbox to the left 2021-02-16 12:17:21 +01:00
David JULIEN
fe16d9a110 feat: modify clean directive
remove blocks.h
2021-02-13 21:36:53 +01:00
David JULIEN
72b5294bc7 feat: base configuration 2021-02-13 19:58:49 +01:00
torrinfail
96cbb453e5
Merge pull request #40 from IGeraGera/IGeraGera-patch-1
Updated the patch in README.md for commit b6b0be4
2020-12-27 13:43:03 -07:00
torrinfail
0e22e81b1e
Merge pull request #39 from Strahinja/master
Add the call to pclose() when the output from the block command is empty
2020-12-24 16:53:26 -07:00
torrinfail
5b8eb5f7b1
Merge pull request #41 from victor-timofei/master
Fix LDFLAGS for Ubuntu
2020-12-24 16:49:30 -07:00
Victor Timofei
af5389ce30
Fix LDFLAGS for Ubuntu 2020-12-23 19:52:47 +02:00
IGeraGera
5583a44cd3
Updated README with new patch 2020-12-22 14:44:10 +02:00
IGeraGera
9319e12a45
Update README.md
Updated the existing patch. I tried to respect the current formating
2020-12-20 01:07:07 +02:00
Страхиња Радић
4c392c32ed Added the call to pclose() when the output from the command is empty 2020-11-18 12:09:15 +01:00
aidan
b6b0be4f4f Only open X server once rather than open and close after every writeout. 2020-09-09 13:10:49 -06:00
aidan
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.
2020-09-05 15:48:54 -06:00
aidan
13c7700f34 Fixed issue with empty command delimiter
This meant that the delimiters were added when when both the icon and
output where empty.
2020-08-29 11:58:28 -06:00
torrinfail
3d308cafb0
Merge pull request #29 from keikari/patch-2
Fix, delimLen caused weird behaviour
2020-08-27 06:51:30 +00:00
aidan
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.
2020-08-27 04:47:07 +00:00
aidan
904e407908 Added back the ability to change compiler with CC environment variable. 2020-08-19 10:12:37 -06:00
aidan
416a36d636 Unified style for if, for, and while statements. As well as general
code cleanup.
2020-08-19 10:10:43 -06:00
torrinfail
b12722ab48
Merge pull request #30 from toniz4/master
updated readme with new statuscmd patch
2020-08-17 23:43:41 -06:00
Cássio Ribeiro Alves de Ávila
8ebe5ecb60 updated readme with new statuscmd patch 2020-08-17 04:16:34 -03:00
keikari
d581dae180
Update dwmblocks.c 2020-08-16 12:21:46 +03:00
keikari
86d7ae90b7
Update dwmblocks.c 2020-08-16 12:20:15 +03:00
keikari
0bd4575574
Small fix
delimLen didn't count in null-terminator.
On line 62 the null terminator character doesn't get copied.
2020-08-15 21:43:18 +03:00
aidan
941f415b38 Manual merge of pull request #19. This adds multi-character delimiter.
Thanks to tph5595.
2020-08-14 12:36:38 -06:00
aidan
9c5aec5cd5 Removed call to redundant call to exit() 2020-08-14 01:15:32 -06:00
torrinfail
661f3eb4bc
Merge pull request #12 from kdkasad/patch-1
Change `cp`/`chmod` to `install` in Makefile
2020-08-12 21:20:36 -06:00
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
5b9f39d697
Update README.md
Added first dwm style optional patch to readme
2020-08-11 20:20:49 -07: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
1b2e50c6c5
Update README.md
Added a bit more documentation to readme.
2020-08-11 20:00:54 -07:00
Aidan
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.
2020-08-11 20:50:11 -06:00
torrinfail
8893f2d08a
Merge pull request #17 from tph5595/patch-1
Fixed argument order for gcc. This most likely fixes building on debian based systems. Thanks to tph5595
2020-07-28 11:07:43 -06:00
torrinfail
7a570d5760
Merge branch 'master' into patch-1 2020-07-28 11:06:04 -06:00
Aidan
dcb198d7d7 Added variable in makefile to change c compiler 2020-07-06 02:10:33 -06: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
Taylor Henderson
e62fbe6499
Fixed argument order for gcc 2020-05-29 21:22:34 -04: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
Kian Kasad
507cf284a2
Change cp/chmod to install
The install command was meant for exactly this purpose; installing a file to a location and setting its permissions. This combines the `cp` and `chmod` commands into one `install` command.
2020-05-04 01:20:45 -07:00
Aidan
6e0519df3a Switched to ISC license 2020-04-18 02:02:41 -06:00
torrinfail
5a199e25f6
Start transition to ISC license 2020-04-18 01:57:02 -06:00
aidan
030de220e4 removed unused replace function 2020-04-16 01:03:30 -06:00
torrinfail
003a2238dc
Merge pull request #3 from crian/master
Some Makefile additions by crian
2020-04-16 00:32:26 -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
crian
2b44212f45
Makefile: Set permission 2020-03-03 14:53:01 +01:00
crian
2c47e9e707
Makefile: Add uninstall 2020-03-02 17:01:13 +01:00
crian
9c9e08d2bc
Makefile: Use DESTDIR and PREFIX 2020-03-02 17:01:10 +01:00
Aidan
fefab14bee Merge branch 'master' of https://github.com/torrinfail/dwmblocks 2019-12-16 14:38:39 -07:00