You are not logged in.
Hi,
I've setup WMFS the way I need it, but I can't figure out how to pipe conky-cli output to the status bar correctly. I've created a status.sh script with the following:
#!/bin/bash
conky | while read -r; do wmfs -s -name "$REPLY"; done
which gets called from the wmfsrc, and this works to some extent, but it spawns a million conky instances over time.
So, any ideas how to do this right?
Thanks in advance,
-igor
Last edited by UQ-igor (2011-01-11 10:34:42)
Offline
Shouldn't that be called from .xinitrc, as opposed to from wmfsrc?
Offline
Hi,
I've setup WMFS the way I need it, but I can't figure out how to pipe conky-cli output to the status bar correctly. I've created a status.sh script with the following:
#!/bin/bash
conky | while read -r; do wmfs -s -name "$REPLY"; donewhich gets called from the wmfsrc, and this works to some extent, but it spawns a million conky instances over time.
So, any ideas how to do this right?
Thanks in advance,
-igor
Well, i really think you should wait for an upgrade. The one from the last week wasn't really good. They are many mistakes.
Offline
Shouldn't that be called from .xinitrc, as opposed to from wmfsrc?
I don't use wmfs but in dwm I use from .xinitrc
conky -c ~/build/status_conky | while read -r; do xsetroot -name "$REPLY"; done &
to pipe conky to the statusbar
Hope it helps
Last edited by moetunes (2011-01-11 07:41:32)
You're just jealous because the voices only talk to me.
Offline
Thanks for the suggestions. At the end I got it to work as follows:
Created an autostart.sh script which sets by background and starts conky piped to wmfs -s (make it executable)
#!/bin/bash
feh --bg-fill $HOME/.config/wmfs/ArchWallpaper.jpg
conky | while read -r; do wmfs -s -name "$REPLY"; done
Then called the autostart.sh from wmfsrc
[root]
# Command you can execute to set the background.
background_command = "$HOME/.config/wmfs/autostart.sh"
[mouse] button = "4" func = "tag_next" [/mouse]
[mouse] button = "5" func = "tag_prev" [/mouse]
[mouse] button = "3" func = "menu" cmd = "rootmenu" [/mouse]
[/root]
and this seems to work for anyone having the same issues.
Cheers,
-igs
Offline