GithubHelp home page GithubHelp logo

sharl / swiftbar-plugins Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 42 KB

SwiftBar の自作プラグイン (amesh, amedas, etc..)

License: MIT License

Python 97.06% Shell 2.94%
swiftbar swiftbar-plugins

swiftbar-plugins's Introduction

SwiftBar-Plugins

SwiftBar の自作プラグイン

動作前提条件

  • Python3+
pip3 install --upgrade requests bs4 Pillow Pyaudio matplotlib

プラグイン

amedas.10m.py

設定ファイル ~/.amedas 書式

14163

アメダスの観測地点コードを記述します。 14163札幌です。 東京44132 です。 #amdno=数字 が観測地点コードになります。

設定ファイル~/.amedas.settings 書式

{
  "temp": -0.6,
  "snow": 79,
  "vvox": true
}

自動で作成され、次回のリフレッシュ時に気温や積雪量を比較して変化したときに VOICEVOX でしゃべるようになります。 VOICEVOX Engine と疎通が取れない場合は自動で vvoxfalse になるため、再度しゃべらせる場合は この設定ファイルを削除してみてください。

hamu.py

設定ファイル ~/.location 書式

https://weather.yahoo.co.jp/weather/zoomradar/?lat=43.06144807&lon=141.35373725&z=8

雨雲レーダーで「地名や住所を入力」で検索した地点を中心に表示するため、「URLを表示」で z=数字 までをコピーします。 数字は拡大率なので適宜調整してください。

amesh.py

特に設定はありません。

sapporo_dhp.1m.py

札幌 消防出動情報の情報を表示します。

特に設定はありません。

yokohama_dhp.1m.py

横浜 消防出動情報の情報を表示します。

特に設定はありません。

Yeelight Toggle.py

Yeelight 製品の電源をトグルします。

swiftbar-plugins's People

Contributors

sharl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.