Added refresh polybar command to end of set_wireless_nic

This commit is contained in:
Vlad Doster 2020-03-06 12:34:52 -05:00
parent 03d05e05f1
commit 60a34b66a4

View File

@ -5,3 +5,5 @@ nic=`lshw 2>/dev/null | grep -A 5 'description: Wireless interface' | tail -n 1
sed -i "/wifi/{N;N;s/interface =.*/interface = $nic/;}" ~/.config/polybar/config
echo "Set wireless nic to $nic"
launch_polybar