@thememesniper i actually for a long period of time had something like this on my laptop, alias that ran a script that had the following lines (from my memory, they're probably wrong)

rfkill unblock lan
ip link set wlan0 up
rc-service iwd restart