Dexscreener MC
This commit is contained in:
@@ -36,16 +36,17 @@ interval=2
|
||||
|
||||
# volume/spotify [[[ #
|
||||
|
||||
# [spotify]
|
||||
# # command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
|
||||
# # label=
|
||||
# label=
|
||||
[spotify]
|
||||
#command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
|
||||
command=/home/kevin/.config/i3blocks/scripts/spotify
|
||||
# label=
|
||||
label=
|
||||
# # label=🎧
|
||||
# # green
|
||||
# # color=#198c19
|
||||
# # aqua
|
||||
# # color=#2d7272
|
||||
# interval=5
|
||||
interval=5
|
||||
|
||||
# [spotify]
|
||||
# label=
|
||||
|
||||
@@ -65,6 +65,11 @@ label=PIXL
|
||||
command=/home/kevin/.config/i3blocks/scripts/dexscreener ethereum 0x31c0ba10e4e12be6cdceb612e5e829d977532bfc
|
||||
interval=30
|
||||
|
||||
[dexscreener-mc]
|
||||
label=TRUMP
|
||||
command=/home/kevin/.config/i3blocks/scripts/dexscreener-mc solana a8nphpcjqtqhdquk35uj9hy2ysgxfkczgunwvkd3k7vc
|
||||
interval=30
|
||||
|
||||
[kraken]
|
||||
label=ETH
|
||||
#TICKER=ETHUSDC
|
||||
@@ -78,11 +83,11 @@ label=PENGU
|
||||
command=/home/kevin/.config/i3blocks/scripts/dexscreener solana B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
|
||||
interval=5
|
||||
|
||||
[kraken]
|
||||
label=AVAX
|
||||
#TICKER=AVAXUSD
|
||||
command=/home/kevin/.config/i3blocks/scripts/kraken AVAXUSD
|
||||
interval=30
|
||||
#[kraken]
|
||||
#label=AVAX
|
||||
##TICKER=AVAXUSD
|
||||
#command=/home/kevin/.config/i3blocks/scripts/kraken AVAXUSD
|
||||
#interval=30
|
||||
|
||||
#[dexscreener]
|
||||
#label=LOCK
|
||||
|
||||
6
dot_config/i3blocks/scripts/executable_dexscreener-mc
Executable file
6
dot_config/i3blocks/scripts/executable_dexscreener-mc
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
. "/home/kevin/.cache/wal/colors.sh"
|
||||
#ticker=$(~/scripts/dexscreener $CHAIN $PAIR)
|
||||
ticker=$(~/scripts/dexscreener-mc $1 $2)
|
||||
printf "%s\n\n%s\n" "$ticker" "$color7"
|
||||
@@ -9,6 +9,8 @@ case "$BLOCK_BUTTON" in
|
||||
esac
|
||||
|
||||
. "/home/kevin/.cache/wal/colors.sh"
|
||||
long_title=$(spotify-now -i "$LONG_NAME" -p '' -e '' | sed 's/&/&/g')
|
||||
short_title=$(spotify-now -i "$SHORT_NAME" -p '' -e '' | sed 's/&/&/g')
|
||||
#long_title=$(spotify-now -i "$LONG_NAME" -p '' -e '' | sed 's/&/&/g')
|
||||
#short_title=$(spotify-now -i "$SHORT_NAME" -p '' -e '' | sed 's/&/&/g')
|
||||
long_title=$(spotify-now)
|
||||
short_title=$(spotify-now)
|
||||
printf "$long_title\n$short_title\n%s\n" "$color7"
|
||||
|
||||
Reference in New Issue
Block a user