5

Show groups status bar

view full story
linux-howto

http://aerosuidae.net – show what output looks like New pageThis is for users who are displaying a status bar somewhere on the screen, probably by using something like dzen2. It's written for the Bourne shell (actually ash), and should be easily transferable to other shells. One of the things I wanted in my status bar was a list of groups with the current group highlighted. Thanks to Musca's hooks and '-c' option, we can do that. '''Summary''' We set up a hook in Musca that will send our script a signal whenever the group changes. In the script, we trap t (Software)