3 releases

0.1.2 Aug 13, 2023
0.1.1 Jul 20, 2023
0.1.0 Jul 20, 2023

#274 in GUI

Apache-2.0

11KB
166 lines

dwmbar

Simple status bar for dwm

Installation

cargo install dwmbar

Configuration

The config file is placed at $XDG_CONFIG_HOME/dwmbar/config.json or simply ~/.config/dwmbar/config.json The default should give you an idea of how it is structured. This is a basic command:

...
{
  "command": "pwd",
  "update_delay": 5000, // Update delay, in ms (optional)
  "ignore_status_code": true, // Take the output even if the status code indicates a failure. Default: false (optional)
},
...

Each command is seperated by the delimiter specified at the top of the file.
thread_polling_delay refers to the delay after checking if any commands are done. 1/0.thread_polling_delay is effectively the refresh rate at which the status bar is updated

Dependencies

~1.7–2.5MB
~56K SLoC