Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

[SOLVED][OpenBox] Pipe Menu for Weather

Started by DennisD, February 12, 2016, 06:29:08 PM

Previous topic - Next topic


I had an issue with the openbox menu when I installed the OB version. (Basically it would not generate) So I scrapped the menu and created a new one, no problem. However, I am not super skilled at pipe menus. Is there somewhere where I can pulled the menu code (maybe a git repo or something) to get the code for the weather pipe menu.

I like having the weather easily accessible, but I do not need it on the conky. The pipe menu is great for me.



What comes to mind to me when I hear openbox, pipe menu and / or conky is #!.  Tonnes of posts, some quite good at the archived Crunchbang linux forums and at  (but they seem to be down).  Also  a dedicated section to conky at vsido.

Are you using the portion of suckless-tools called dmenu for your pipe menu? 

Not a pipe menu but for moi, via  .conkyrc
Winnipeg ${execi 300 ~/bin/ "NAM|CA|MB|WINNIPEG"}
and in ~/bin

#AccuWeather (r) RSS weather tool for conky
#USAGE: <locationcode>
#(c) Michael Seiler 2007

METRIC=1 #Should be 0 or 1; 0 for F, 1 for C

if [ -z $1 ]; then
    echo "USAGE: <locationcode>"
    exit 0;

curl -s\?metric\=${METRIC}\&locCode\=$1 | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }'

old as dirt and I did not write it. 

edited later  I see the post below.  In case others are searching here - it is o.k. to post the source you used from the the Arch forum. 
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.


Found my answer on the ARCH forum. Thanks anyway!!


Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


Thanks for the reply. I did see that, but it was not just the location. I wound up having an issue with the entire menu and I needed the code for the pipe-menu and the weather script.  It is those I found on the ARCH forum.

But thanks again for the response/

View the most recent posts on the forum