add i3 and polybar conf, add new rofi logout screen

This commit is contained in:
Rene Kievits
2021-10-04 23:17:58 +02:00
parent 16508c1fae
commit 0d2a0bb8a8
124 changed files with 1525 additions and 4094 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
NETWORK=$(awk '{if(l1){print $2-l1,$10-l2} else{l1=$2; l2=$10;}}' <(grep wlo1 /proc/net/dev) <(sleep 1; grep wlo1 /proc/net/dev))
UP=$(echo $NETWORK | awk '{ print $2 }')
DOWN=$(echo $NETWORK | awk '{ print $1 }')
UP=$(echo "scale=2 ; $UP / 1048576" | bc)
DOWN=$(echo "scale=2 ; $DOWN / 1048576" | bc)
echo "$DOWN MB/s  $UP MB/s"