dwmblocks.git
4 years agoUpdate dwmblocks.c
keikari [Sun, 16 Aug 2020 09:20:15 +0000 (12:20 +0300)]
Update dwmblocks.c

4 years agoSmall fix
keikari [Sat, 15 Aug 2020 18:43:18 +0000 (21:43 +0300)]
Small fix

delimLen didn't count in null-terminator.
On line 62 the null terminator character doesn't get copied.

4 years agoManual merge of pull request #19. This adds multi-character delimiter.
aidan [Fri, 14 Aug 2020 18:36:38 +0000 (12:36 -0600)]
Manual merge of pull request #19. This adds multi-character delimiter.
Thanks to tph5595.

4 years agoRemoved call to redundant call to exit()
aidan [Fri, 14 Aug 2020 07:15:32 +0000 (01:15 -0600)]
Removed call to redundant call to exit()

4 years agoMerge pull request #12 from kdkasad/patch-1
torrinfail [Thu, 13 Aug 2020 03:20:36 +0000 (21:20 -0600)]
Merge pull request #12 from kdkasad/patch-1

Change `cp`/`chmod` to `install` in Makefile

4 years agofixed signal handling on OpenBSD by using SIGUSR1 instead of SIGRTMIN.
aidan [Wed, 12 Aug 2020 16:24:42 +0000 (10:24 -0600)]
fixed signal handling on OpenBSD by using SIGUSR1 instead of SIGRTMIN.
This should not affect other platforms at all.

4 years agoUpdate README.md
torrinfail [Wed, 12 Aug 2020 03:20:49 +0000 (20:20 -0700)]
Update README.md

Added first dwm style optional patch to readme

4 years agoMerge pull request #15 from tomboehmer/issue9
torrinfail [Wed, 12 Aug 2020 03:04:51 +0000 (20:04 -0700)]
Merge pull request #15 from tomboehmer/issue9

Fixes #9 - determine the size of the status buffer based on the number of blocks

4 years agoUpdate README.md
torrinfail [Wed, 12 Aug 2020 03:00:54 +0000 (20:00 -0700)]
Update README.md

Added a bit more documentation to readme.

4 years agoadded blocks.def.h to act as default blocks file so that changes made in
Aidan [Wed, 12 Aug 2020 02:50:11 +0000 (20:50 -0600)]
added blocks.def.h to act as default blocks file so that changes made in
the future will not affect csutom blocks.h files.

4 years agoMerge pull request #17 from tph5595/patch-1
torrinfail [Tue, 28 Jul 2020 17:07:43 +0000 (11:07 -0600)]
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

4 years agoMerge branch 'master' into patch-1
torrinfail [Tue, 28 Jul 2020 17:06:04 +0000 (11:06 -0600)]
Merge branch 'master' into patch-1

4 years agoAdded variable in makefile to change c compiler
Aidan [Mon, 6 Jul 2020 08:10:33 +0000 (02:10 -0600)]
Added variable in makefile to change c compiler

4 years agoMerge pull request #8 from markcaudill/master
torrinfail [Thu, 11 Jun 2020 07:13:49 +0000 (01:13 -0600)]
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 .

4 years agoFixed argument order for gcc
Taylor Henderson [Sat, 30 May 2020 01:22:34 +0000 (21:22 -0400)]
Fixed argument order for gcc

4 years agoFixes #9 - determine the size of the status buffer based on the number of blocks
Tom Böhmer [Thu, 28 May 2020 08:39:07 +0000 (10:39 +0200)]
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

4 years agoChange `cp`/`chmod` to `install`
Kian Kasad [Mon, 4 May 2020 08:20:45 +0000 (01:20 -0700)]
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.

4 years agoSwitched to ISC license
Aidan [Sat, 18 Apr 2020 08:02:41 +0000 (02:02 -0600)]
Switched to ISC license

4 years agoStart transition to ISC license
torrinfail [Sat, 18 Apr 2020 07:57:02 +0000 (01:57 -0600)]
Start transition to ISC license

4 years agoremoved unused replace function
aidan [Thu, 16 Apr 2020 07:03:30 +0000 (01:03 -0600)]
removed unused replace function

4 years agoMerge pull request #3 from crian/master
torrinfail [Thu, 16 Apr 2020 06:32:26 +0000 (00:32 -0600)]
Merge pull request #3 from crian/master

Some Makefile additions by crian

4 years agoProposed fix for issue #5.
Mark Caudill [Wed, 1 Apr 2020 15:45:00 +0000 (11:45 -0400)]
Proposed fix for issue #5.

Initialize all signals from RTMIN to RTMAX with a dummy handler before
actually setting the "real" handlers.

4 years agoMakefile: Set permission
crian [Tue, 3 Mar 2020 13:53:01 +0000 (14:53 +0100)]
Makefile: Set permission

4 years agoMakefile: Add uninstall
crian [Mon, 2 Mar 2020 12:42:26 +0000 (13:42 +0100)]
Makefile: Add uninstall

4 years agoMakefile: Use DESTDIR and PREFIX
crian [Mon, 2 Mar 2020 12:36:26 +0000 (13:36 +0100)]
Makefile: Use DESTDIR and PREFIX

4 years agoMerge branch 'master' of https://github.com/torrinfail/dwmblocks
Aidan [Mon, 16 Dec 2019 21:38:39 +0000 (14:38 -0700)]
Merge branch 'master' of https://github.com/torrinfail/dwmblocks

4 years agoAdded ifndef for openbsd compatibility. SIGRTMIN is not defined on
Aidan [Mon, 16 Dec 2019 21:35:29 +0000 (14:35 -0700)]
Added ifndef for openbsd compatibility. SIGRTMIN is not defined on
OpenBSD.

4 years agoChanged Makefile to use pkg-config to find libraries.
Aidan [Thu, 12 Dec 2019 17:28:06 +0000 (10:28 -0700)]
Changed Makefile to use pkg-config to find libraries.

4 years agoSwitched to fgets instead of using fgetc
Aidan [Sat, 30 Nov 2019 21:43:33 +0000 (14:43 -0700)]
Switched to fgets instead of using fgetc

4 years agofixed issue causing segfault on ARM systems
Aidan [Sat, 30 Nov 2019 09:05:10 +0000 (02:05 -0700)]
fixed issue causing segfault on ARM systems

4 years agoFixed garbled last commit
Aidan Hubert [Wed, 27 Nov 2019 05:50:38 +0000 (05:50 +0000)]
Fixed garbled last commit

4 years agoAdded -p option for printing to stdout rather then setting the root window for compat...
Aidan [Wed, 27 Nov 2019 05:43:16 +0000 (22:43 -0700)]
Added -p option for printing to stdout rather then setting the root window for compatibility with other wms.

4 years agoAdded -f option to rm in clean command.
Aidan [Wed, 27 Nov 2019 05:42:27 +0000 (22:42 -0700)]
Added -f option to rm in clean command.

5 years agoMade dwmblocks way more efficient by only setting the name of the root window when...
Aidan [Wed, 13 Nov 2019 20:58:20 +0000 (13:58 -0700)]
Made dwmblocks way more efficient by only setting the name of the root window when something has changed.

5 years agoRevert "Changed delimeter to accept multiple characters."
Aidan [Thu, 7 Nov 2019 20:07:19 +0000 (13:07 -0700)]
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 3da92ebccb863394a3501ce2d9cbe60ad9aafc8c.

5 years agoChanged delimeter to accept multiple characters.
Aidan [Mon, 4 Nov 2019 22:34:34 +0000 (15:34 -0700)]
Changed delimeter to accept multiple characters.

5 years agoadded icons and delimeter
Aidan [Sat, 30 Mar 2019 03:10:46 +0000 (21:10 -0600)]
added icons and delimeter

5 years agoChanged Makefile to also complie when running install.
Aidan [Wed, 27 Mar 2019 00:32:08 +0000 (18:32 -0600)]
Changed Makefile to also complie when running install.

5 years agoFixed for loop in getstatus()
Aidan [Mon, 25 Mar 2019 04:32:08 +0000 (22:32 -0600)]
Fixed for loop in getstatus()

5 years agoAdded more to readme.
Aidan [Mon, 25 Mar 2019 03:54:43 +0000 (21:54 -0600)]
Added more to readme.

5 years agoAdded install option.
Aidan [Mon, 25 Mar 2019 03:53:48 +0000 (21:53 -0600)]
Added install option.

5 years agoAdded function declarations and renamed setrootcmd to statusstr.
Aidan [Mon, 25 Mar 2019 03:51:40 +0000 (21:51 -0600)]
Added function declarations and renamed setrootcmd to statusstr.

5 years agoChanged commands to use ~ instead of /home/aidan
Aidan [Sun, 24 Mar 2019 23:51:45 +0000 (17:51 -0600)]
Changed commands to use ~ instead of /home/aidan

5 years agoChanged makefile to include X11 libraries.
Aidan [Sun, 24 Mar 2019 22:36:52 +0000 (16:36 -0600)]
Changed makefile to include X11 libraries.

5 years agoAdded code files, and Makefile.
Aidan [Sun, 24 Mar 2019 22:31:05 +0000 (16:31 -0600)]
Added code files, and Makefile.

5 years agoInitial commit
torrinfail [Sun, 24 Mar 2019 22:19:32 +0000 (16:19 -0600)]
Initial commit