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
Aidan
fa4eeff38d
Added ifndef for openbsd compatibility. SIGRTMIN is not defined on
...
OpenBSD.
2019-12-16 14:35:29 -07:00
Aidan
3906995607
Changed Makefile to use pkg-config to find libraries.
2019-12-12 10:28:06 -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
a22c6311cc
Added -f option to rm in clean command.
2019-11-26 22:42:27 -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
86f2909ba6
Changed Makefile to also complie when running install.
2019-03-26 18:32:08 -06:00
Aidan
ce861dd798
Fixed for loop in getstatus()
2019-03-24 22:32:08 -06:00
Aidan
980aab697a
Added more to readme.
2019-03-24 21:54:43 -06:00
Aidan
b998dd9d55
Added install option.
2019-03-24 21:53:48 -06:00
Aidan
5ba902a666
Added function declarations and renamed setrootcmd to statusstr.
2019-03-24 21:51:40 -06:00