Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Commit

Permalink
code rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Unia committed Jan 18, 2014
1 parent 3bc594f commit b715439
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 149 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PREFIX ?= /usr/local
BINPREFIX = ${PREFIX}/bin

LIBS = -lasound -lX11 `pkg-config --cflags --libs glib-2.0 dbus-glib-1 audclient`
CFLAGS += -pedantic -Wall -Wextra
CFLAGS += -std=c99 -pedantic -Wall -Wextra

debug: CFLAGS += -O0 -g
debug: ${PROG}
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ DWMST
**Forked from TrilbyWhite's dwmStatus:** https://github.com/TrilbyWhite/dwmStatus

A great inspiration for many code optimizations has been OK100. Thanks!
The last rewrite also took major inspiration and code from Suckless.

This is a hardcoded statusbar for my system and, like Trilby's dwmStatus from which this is forked, it was not meant to be flexible. Flexibility costs memory and processor time. This can, however, be used as a template for your own status bar app.

Expand All @@ -20,12 +21,8 @@ To built and install, simply run
$ make
# make clean install

To (re)launch dwmst after suspending your computer, you have to enable the systemd service file:
`systemctl enable dwmst@<yourusername>.service`

ToDo
----
* Code left to clean up:
* Alsa;
* Improve handling when no battery is present
* Look into empty spaces when Skype/Network is not present
Loading

0 comments on commit b715439

Please sign in to comment.