Giter Site home page Giter Site logo

xfce4-coingecko's Introduction

XFCE CoinGecko

Generic Monitor (Genmon) plugin that shows the prices of your favorite and trending cryptocurrency tokens via fetching CoinGecko API.

screenshot

Features:

  • Click on the widget to visit CoinGecko site
  • Hover over the widget to view trending tokens
  • Get system notification from tokens having huge price change

https://github.com/bimlas/xfce4-coingecko (please star if you like the plugin)

Usage

$ xfce4-coingecko.sh <warnlevel> <token1> <token2> ...
  • <warnlevel>
    • The minimum daily price change expressed as a percentage for which you want to receive notifications (set it to a high value to disable)
  • <token>
    • CoinGecko API ID of the token (from the "Info" box of it)

Because the list of the tokens could be long, it's suggested to create a "wrapper" shell script, for example xfce4-coingecko-wrapper.sh:

#!/bin/sh
/path/to/xfce4-coingecko.sh 20 bitcoin ethereum matic-network

Don't forget to make it executable via chmod +x xfce4-coingecko-wrapper.sh.

Adding Genmon widget

  • First you have to install xfce4-genmon-plugin package if it is not on your system
  • Add the monitor to the panel
    • Right click on the panel
    • Select Panel -> Add new items
    • Add Generic Monitor plugin
  • Set up the generic monitor to use with this script
    • Right click on the newly added generic monitor -> Properties
    • Command: /path/to/xfce4-coingecko-wrapper.sh
    • Uncheck the checkbox of Label
    • Set Period to at least 30 seconds
      • Do not set it to lower value because you would reach rate-limit of the API

xfce4-coingecko's People

Contributors

bimlas avatar

Stargazers

 avatar

Watchers

 avatar  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.