This commit is contained in:
David Aizenberg
2020-12-19 20:51:09 +04:00
parent 4f34ba32c2
commit 3e24926114
2 changed files with 5 additions and 1 deletions

View File

@@ -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 $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 F4 exec exec /home/david/dotfiles/scripts/rofi/rofi-openvpn.sh
bindsym F3 exec exec /home/david/dotfiles/scripts/rofi/rofi-ssh.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 # 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 # shipping a .desktop file. It is a wrapper around dmenu, so you need that

5
scripts/erc20balance.sh Executable file
View File

@@ -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)$