Tickers color scheme

This commit is contained in:
2025-01-18 10:55:50 -05:00
parent 5c098bd26d
commit 6f8c0b08d7
9 changed files with 48 additions and 46 deletions

View File

@@ -19,20 +19,18 @@ color=#cbe4ff
# sys.monitoring [[[ #
{{ if eq .chezmoi.hostname "nzxt" }}
[temperature]
label=
interval=5
[cpu_usage]
label=
interval=2
label=
interval=5
[memory]
label=
label=
# color=#3da061
interval=2
{{ end }}
# ]]] sys.monitoring #
@@ -67,11 +65,8 @@ interval=60
[calendar]
interval=30
label=
# {{ if eq .chezmoi.hostname "nzxt" }}
# DATEFMT=+%H:%M.%a-%m-%d
# {{ else }}
# DATEFMT=+%H:%M
# {{ end }}
#DATEFMT=+%H:%M
# SHORTFMT=+%H:%M:%S
#SHORTFMT=+%H:%M.%a-%m-%d

View File

@@ -38,7 +38,8 @@ color=#cbe4ff
[kraken]
label=BTC
#TICKER=BTCUSDC
command=/home/kevin/scripts/kraken BTCUSDC
#command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC
command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC
interval=30
# [ticker]
@@ -49,7 +50,7 @@ interval=30
[kraken]
label=SOL
#TICKER=SOLUSD
command=/home/kevin/scripts/kraken SOLUSD
command=/home/kevin/.config/i3blocks/scripts/kraken SOLUSD
interval=30
# [kraken]
@@ -61,25 +62,26 @@ interval=30
label=PIXL
#CHAIN=ethereum
#PAIR=0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
command=/home/kevin/scripts/dexscreener ethereum 0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
command=/home/kevin/.config/i3blocks/scripts/dexscreener ethereum 0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
interval=30
#[kraken]
#label=ETH
[kraken]
label=ETH
#TICKER=ETHUSDC
#interval=30
command=/home/kevin/.config/i3blocks/scripts/kraken ETHUSDC
interval=30
[dexscreener]
label=PENGU
#CHAIN=solana
#PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
command=/home/kevin/scripts/dexscreener solana B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
command=/home/kevin/.config/i3blocks/scripts/dexscreener solana B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
interval=5
[kraken]
label=AVAX
#TICKER=AVAXUSD
command=/home/kevin/scripts/kraken AVAXUSD
command=/home/kevin/.config/i3blocks/scripts/kraken AVAXUSD
interval=30
#[dexscreener]

View File

@@ -3,7 +3,7 @@
WIDTH=${WIDTH:-200}
HEIGHT=${HEIGHT:-200}
#DATEFMT=${DATEFMT:-"+%a %d.%m.%Y %H:%M:%S"}
DATEFMT=${DATEFMT:-"+ %a %m.%d %H:%M"}
DATEFMT=${DATEFMT:-"+ %a %-m/%d %H:%M"}
SHORTFMT=${SHORTFMT:-"+%H:%M:%S"}
OPTIND=1

View File

@@ -1,5 +1,6 @@
#!/bin/bash
. "/home/kevin/.cache/wal/colors.sh"
ticker=$(~/scripts/dexscreener $CHAIN $PAIR)
#ticker=$(~/scripts/dexscreener $CHAIN $PAIR)
ticker=$(~/scripts/dexscreener $1 $2)
printf "%s\n\n%s\n" "$ticker" "$color7"

View File

@@ -1,5 +1,6 @@
#!/bin/bash
. "/home/kevin/.cache/wal/colors.sh"
ticker=$(~/scripts/kraken $TICKER)
#ticker=$(~/scripts/kraken $TICKER)
ticker=$(~/scripts/kraken $1)
printf "%s\n\n%s\n" "$ticker" "$color7"