天気をチェックするスクリプトを書いています。スクリプトは問題なく、cronジョブとしてうまく機能していますが、現在、スクリプトの結果(現在の天気予報)をconkyで表示しようとしています。
python-weatherスクリプトが書き込むファイル「weather-outside」があり、これをconkyrcファイルに追加します。
${color grey}Weather:${scroll 16 $execi 3600 cat $/home/User/Desktop/misc./weather-outside | fold}
execiコマンドは3600秒に設定された間隔で実行されると想定されていますが、これは次の後にconkyを実行するときのエラーメッセージです。
Conky: execi needs arguments
Conky: Error destroying thread
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
execiをexecに変更しましたが、実際には'cat $ home / User / Desktop /misc./weather-outside|という行になります。fold'は、そのファイルのテキストではなく、conkyをスクロールしますか?