Update dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh
Update dot_config/polybar/scripts/executable_polybar_custom_time.sh Update dot_config/polybar/scripts/executable_polybar_dunst_indicator.sh Update dot_config/polybar/scripts/executable_polybar_healthbar.sh Update dot_config/polybar/scripts/executable_polybar_net_indicator.sh Update dot_config/polybar/scripts/executable_polybar_net_speed.sh Update dot_config/polybar/scripts/executable_polybar_redshift_indicator.sh Update dot_config/polybar/scripts/executable_polybar_wifibar.sh
This commit is contained in:
parent
8b2408dafd
commit
fd95dd8b8f
8 changed files with 15 additions and 10 deletions
|
@ -5,7 +5,7 @@
|
|||
# Author: machaerus
|
||||
# https://gitlab.com/machaerus
|
||||
|
||||
source colors.sh
|
||||
source ~/.config/polybar/scripts/colors.sh
|
||||
|
||||
net_speed() {
|
||||
UP_NETSPEED=$(awk '{if(l1){printf "%6.1f", ($10-l2)/1024} else{l1=$2; l2=$10;}}' <(grep wlan0 /proc/net/dev) <(sleep 1; grep wlan0 /proc/net/dev))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue