You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add #{kripto} to your status line configuration if it already exists.
For example:
set -g status-right "#{kripto}"
Configuration
Cryptocurrency
The plugin defaults to Bitcoin. You can set any other supported cryptocurrency
using the following command:
set -g @kripto_id "basic-attention-token"
The above command will use the Basic Attention Token cryptocurrency.
Currency
The plugin defaults to US dollars. You can set any other currency using the
following
tmux command:
set -g @kripto_currency "gbp"
Reference to the Coingecko API
documentation for all the available currencies and cryptocurrencies you can use
with the above two options:
https://www.coingecko.com/en/api.
Rounding
By default, the currency price is not rounded. You can round the currency stock
price using:
set -g @krypto_round "carview.php?tsp=true"
Currency symbol
The plugin defaults to $. You can set any other currency symbol using the
following
tmux option:
set -g @kripto_currency_symbol "£"
The above command will output the currency symbol for british pounds.
Currency symbol
The plugin defaults to the unicode ¤. You can set any other icon symbol using
the following tmux option:
set -g @kripto_icon "💰"
The above command will prepend the cryptocurrency with the above icon.
You can also hide the icon if you want to with:
set -g @kripto_icon_hide "carview.php?tsp=true"
Time-to-live (TTL)
The plugin caches results by default for 10 minutes. You can set any other value
(in seconds) using the following option:
set -g @kripto_ttl 900
The above command will cache results for 15 minutes.
License
This plugin is licensed under the MIT license. For more information please refer
to the LICENSE file.
About
A tmux plugin to display the current price of crypto-currencies.