add line to systemd-networkd.sh to setup systemd-resolved

fix missing emoji in sway-bar.sh
master
Alex 2023-05-01 23:30:25 -05:00
parent 7a6dd9161c
commit dfa5aa217c
2 changed files with 6 additions and 1 deletions

View File

@ -7,5 +7,10 @@ echo " see available network devices (Name=*) with: ls /sys/class/net/"
sudo cp ../files/systemd/network/basic/* /etc/systemd/network/
sudo systemctl enable --now systemd-networkd.service
sudo systemctl enable --now systemd-resolved.service
#setup system to default to systemd-resolved config
sudo ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf

View File

@ -75,7 +75,7 @@ netup() {
if [ "$(echo "$iface" | grep w)" ]; then
icon=" "
else
icon=""
icon="🖧"
fi
elif [ -z "$icon" ]; then
icon="❗"