diff --git a/.config/coc/extensions/db.json b/.config/coc/extensions/db.json index e7a4df5..fa2e4ba 100644 --- a/.config/coc/extensions/db.json +++ b/.config/coc/extensions/db.json @@ -1,3 +1,3 @@ { - "lastUpdate": 1594985134646 + "lastUpdate": 1595060143320 } \ No newline at end of file diff --git a/.config/qutebrowser/bookmarks/urls b/.config/qutebrowser/bookmarks/urls index bd8c89a..e8833b7 100644 --- a/.config/qutebrowser/bookmarks/urls +++ b/.config/qutebrowser/bookmarks/urls @@ -1,2 +1,3 @@ https://security.stackexchange.com/questions/220068/using-local-port-forwarding-from-raspberrypi-to-vps-in-order-to-be-able-to-acces ssh - Using local port forwarding from RaspberryPI to VPS in order to be able to access the PI from anywhere on the Internet, security considerations? - Information Security Stack Exchange https://gist.github.com/attacus/cb5c8a53380ca755b10a5b37a636a0b9 Create your own encrypted chat server with Riot and Matrix +https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fmy.vultr.com%2F&ref_src=twsrc%5Etfw&text=I%20just%20deployed%20a%20high%20performance%20cloud%20server%20on%20Vultr.com%20!%20%23ILoveVultr%20%23Cloud&tw_p=tweetbutton&url=http%3A%2F%2Fgoo.gl%2FZLou61 Home / Twitter diff --git a/.local/bin/statusbar/nettraf b/.local/bin/statusbar/nettraf index ae94922..b24058a 100755 --- a/.local/bin/statusbar/nettraf +++ b/.local/bin/statusbar/nettraf @@ -29,7 +29,7 @@ tx=$(update /sys/class/net/[ew]*/statistics/tx_bytes) timedifference=$(( "$(date +'%s')" - "$previoustime" )) if [ -n "$timedifference" ]; then rx_avg=$(( "$rx" / "$timedifference" )) - tx_avg=$(( "$rx" / "$timedifference" )) + tx_avg=$(( "$tx" / "$timedifference" )) else rx_avg=rx_bytes tx_avg=tx_bytes diff --git a/.local/bin/statusbar/torrent b/.local/bin/statusbar/torrent index 0ab811c..0e3d02d 100755 --- a/.local/bin/statusbar/torrent +++ b/.local/bin/statusbar/torrent @@ -1,6 +1,6 @@ #!/bin/sh -transmission-remote -l | grep % | +var="$( transmission-remote -l | grep % | sed " # This first sed command is to ensure a desirable order with sort s/.*Stopped.*/A/g; s/.*Seeding.*/Z/g; @@ -14,7 +14,8 @@ transmission-remote -l | grep % | s/L/🔼/g; s/M/🔽/g; s/N/✅/g; - s/Z/🌱/g" | awk '{print $2, $1}' | tr '\n' ' ' | sed -e "s/ $//g" + s/Z/🌱/g" | awk '{print $2, $1}' )" #tr '\n' ' ' | sed -e "s/ $/ /g" +echo $var | sed 's/ //g' case $BLOCK_BUTTON in 1) $TERMINAL -e transmission-remote-cli ;; @@ -25,4 +26,3 @@ case $BLOCK_BUTTON in ✅: done 🌱: done and seeding" ;; esac -