Delete set_wireless_nic

This commit is contained in:
Vlad Doster 2020-05-09 19:13:46 -05:00 committed by GitHub
parent f61991b4ed
commit c690f6a7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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