Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
monsterwm-pager - slim bar to show #desktops and #windows per desktop
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.mkdn
mopag.c

README.mkdn

mopag

a small pager for monsterwm.

it visually displays the number of desktops and number of windows on each desktop in a thin bar.

configuration

configuration is done through the source itself.

edit mopag.c and define the prefered colors, for active/inactive desktops, urgent hints, size of bar and markers, and bar placement (top or bottom of the screen).

installation

$ $EDITOR mopag.c
$ make
# make install

run

on .xinitrc or whatever file is used to start monsterwm do:

monsterwm | mopag

to use with other statusbars like dzen or some_sorta_bar you'll need a fifo. the statusbars will read info from the fifo, while the pager from monsterwm's output through tee.

fifo="/tmp/monsterwm.fifo"
mkfifo -m 600 "$fifo"

while read ..
    [..snip..] # see https://gist.github.com/1905427
done < "$fifo" | dzen &  # or some_sorta_bar

monsterwm | tree -a "$fifo" | mopag

credits

  • original author is Matus Telgarsky.
  • minor changes by Ivan c00kiemon5ter Kanakarakis.
Something went wrong with that request. Please try again.