BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 90 forks source link

Support small area on screen for system status info #22

Closed dcolish closed 11 years ago

dcolish commented 12 years ago

In Xmonad, you can specify a command to be piped to a small area of the workspace for system status or other monitoring information. IMHO, this is a pretty nice feature in any WM since its not very obtrusive and can convey a lot of information. I currently use it to display a dzen2 bar with a bunch of conkey info. In Xmonad the feature is called a logHook

BurntSushi commented 12 years ago

Have you tried this in Wingo yet? Screen real estate is given to applications like dzen2 that request it (using struts).

You can get information from Wingo by running commands. Please see HOWTO-COMMANDS. Also, since Wingo mostly respects EWMH, conventional methods to get window manager information are also appropriate (by reading properties on the root window, but this requires writing some X code).

HOWTO-COMMANDS will tell you how to run commands with wingo-cmd.

Also, see wingo-cmd --help for options that help with documentation. There is also a --poll option that will make wingo-cmd repeat the command at some interval.

The commands available that can get you information usually start with Get.... There aren't that many yet, but I'll add more per recommendation.

dcolish commented 12 years ago

Ok, I haven't tried running it with wingo-cmd. I'll look into getting that working when I have a moment.

BurntSushi commented 12 years ago

Were you able to get what you wanted working?

Adding new commands to retrieve info is simple, so if there's info you want that isn't accessible via existing commands, just let me know.

BurntSushi commented 11 years ago

I'm closing this due to inactivity from the author.

dcolish, please reopen this if the issue hasn't been resolved.

dcolish commented 11 years ago

Sorry, I haven't had much time to get back to this. Its on the list and I will try soon.

ghost commented 11 years ago

Have a look at how I've used wingo-cmd. https://github.com/NPerry/dotfiles/blob/master/bin/wingo-status

alxzh commented 11 years ago

NPerry could you please explain how you used it? I tried to use it like: ./wingo-status.sh|dzen2 but dzen panel is above all other windows in wingo

ghost commented 11 years ago

I'm piping into @LemonBoy/bar using the following ./bin/wingo-status | bar &

Are you launching wingo or dzen first?

alxzh commented 11 years ago

wingo first

ghost commented 11 years ago

I'm running the bar command first, I'm not sure if this is what is causing it. @BurntSushi is this expected behaviour?

jsteele31 commented 11 years ago

Just to reopen this, im doing conky | dzen2 and my dzen bar is hiding behind all the windows!

BurntSushi commented 11 years ago

@jsteele31 Try conky | dzen2 -dock.