diff --git a/i3/config b/i3/config index f1a3c74..1579bbe 100644 --- a/i3/config +++ b/i3/config @@ -66,7 +66,6 @@ bindsym $mod+d exec rofi -show run -modi run -theme Arc-Dark bindsym $mod+Shift+d exec rofi -show drun -modi run -show-icons -theme Arc-Dark bindsym F4 exec exec /home/david/dotfiles/scripts/rofi/rofi-openvpn.sh bindsym F3 exec exec /home/david/dotfiles/scripts/rofi/rofi-ssh.sh -bindsym F2 exec rofi -modi window -show window -theme Arc-Dark # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that diff --git a/scripts/erc20balance.sh b/scripts/erc20balance.sh new file mode 100755 index 0000000..7e91817 --- /dev/null +++ b/scripts/erc20balance.sh @@ -0,0 +1,5 @@ +#/bin/bash + +source ~/.secrets/ethplorer.api +USDT=$(curl -s "https://api.ethplorer.io/getAddressInfo/$ETH_ADDR?apiKey=$ETH_API_KEY" | jq .tokens[0].balance) +echo USDT: $(expr $USDT / 1000000)$ \ No newline at end of file