dwmstatus /

Filename Size Date modified Message
include
39 B
1.1 KB
1.3 KB
2.0 KB
676 B
450 B
1.5 KB
2.3 KB

dwmstatus

This project is a fork of the suckless project by the same name.

About

I started using dwm not too long ago, and noticed that there was really no kind of nice, clean status implementation. All of them were in Python or some shell language. Then I looked at the dwm site and there was suddenly this new dwmstatus project up there. By default it just showed systemd load and time, and coming from i3 I was expecting a bit more. So I started editing this with two motives: learning C and making a good status bar. Now it does a bit more than show 3 differently formatted timezones and a 5-10-15 minute system load. I added some patches from the site to make it show network speed, temperature and a heavily edited battery meter (with time remaining and status) that I threw together. I also took some stuff from i3status and put it in here, notably the ip address check.

If this thing is of use to you, then I guess I'm doing something right.

Instalation and Use

This compiles fine with both clang and gcc for me. Note, it does have most of the same makedepends as dwm.

Running make will compile dwmstatus and you can run it as you would any C program, ./dwmstatus. There is documentation on how to run it in the man page. Just as dwm is configured with a config.h file, so is this status bar. There are a few things you can do just editing this config file, like setting location, where your battery is located, etc. To edit the order that things are displayed, you will have to edit dwmstatus.c's status() function.

You can also add functions by placing them in the includes folder and adding a #include "includes/yourfile.c" in the dwmstatus.c file.

If you're on Arch, then there are packages on the aur, dwmstatus-ks and dwmstatus-ks-git, that you can use to build the status bar.

Bugs

Please add bugs to the bitbucket project or email me at 1007380[at]gmail[Ðot]com.

See LICENSE.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.