Skip to content

c00kiemon5ter/mopag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

monsterwm-pager - slim bar to show #desktops and #windows per desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages