Dexscreener MC
This commit is contained in:
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