Skip to content

TrilbyWhite/dwmStatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DWM Status

A Status bar for dwm.

This is "hardcoded" for my system and 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.

Note that this was written to work with the status colors patch and use symbols from the terminus2 font.  Both the colors and the symbols are int the format strings of the sprintf commands.  However, as they are mostly nonprintable they can show up oddly, or not at all, depending on your editor.

To remove the dependecy on status colors and terminus2 font, simply remove these characters from the format strings.

PS: Audio information is retrieved from a file in my home directory.
This file is updated by whenever the volume is changed by my XF86Vol* keybindings.
This is much more efficient that querying the actual volume from alsa every second.

------

EDIT: 2 June 2013
As I no longer use dwm, I have not done anything with this code in quite some time, and I don't anticipate doing any of the needed improvements.

Anyone interested in implementing a similar status input for dwm should see Unia's great take on this status bar here:
https://github.com/Unia/dwmst

About

A status bar for dwm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages