DzenStatus

A flexible (setuptools) plugin-based script for use creating dzen2 status bars.
Download

DzenStatus Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Greg S.
  • Publisher web site:
  • http://tthanna.enimihil.net

DzenStatus Tags


DzenStatus Description

A flexible (setuptools) plugin-based script for use creating dzen2 status bars. DzenStatus is a configurable Python module meant to drive a statusbar program like dzen, for use with window-managers like xmonad or ratpoison. It is still in early development, so your mileage may vary.InstallingInstalling DzenStatus should be a simple matter of using easy_install:easy_install DzenStatusIf you don't want, or can't, install using easy_install then, assuming you have setuptools installed (which is required for DzenStatus to run), you can download the egg-file, mark it executable (or eggsecutable, as it were), and run it directly. This is not recommended.NoteSetuptools is required for DzenStatus to work, in particular, it uses the pkg_resources entry point tools to discover and load plugins. There are no other requirements (other than a python installation).After installing with easy_install you should have two new commands in your path, dzenstatus and dzenstatus_pipe. The dzenstatus command runs the configured statusbar program (from the configuration file), typically dzen and directly pipes it's output to the standard in of that process.dzenstatus_pipe is available for those who would rather pipe the output of dzenstatus to its destination manually (helpful if you want to integrate DzenStatus into an existing statusbar script).ConfigurationDzenStatus is configured by a single configuration file located in ~/.dzenstatus/config.ini. The configuration file uses the standard python ConfigParser format. An example configuration file is available in the distribution.Full documentation for each plugin is provided in the source code as docstrings.Running DzenStatusOnce you have a configuration you like, you can add it to your .xinitrc or .xsession file in several different ways:dzenstatus&This is the simplest way, just invoking DzenStatus, letting it take care of all the statubar startup and not using a plugin that reads from standard input. If you have a window manager that writes useful information to standard input you may wish to capture it like so (assuming you have a suitable DzenStatus plugin configured to read standard input):/path/to/my/wm | dzenstatusIf you wish to have DzenStatus write it's output directly to standard output, instead of spawning the statusbar program itself, you would use something like:/path/to/my/wm | dzenstatus_pipe | /path/to/my/statusbar_sinkIt is also possible to use a FIFO (named pipe) to allow you to restart DzenStatus without restarting the window manager yet keeping the ability to read the output.mkfifo .status_fifocat .status_fifo | dzenstatus&/path/to/my/wm > .status_fifoOr you can tell DzenStatus to directly read the FIFO with the read_fd plugin, instead of reading from standard input.mkfifo .status_fifodzenstatus&/path/to/my/wm > .status_fifo Requirements: · Python What's New in This Release: · Make simple changes to run on python3 and python2.6 or higher. · Added a simple mpd plugin, requires python-mpd to work. (No dependency has been added, you can safely ignore the plugin entirely without any ill effects, but python-mpd is required to use the plugin.)


DzenStatus Related Software