#!/bin/bash

# omarchy:summary=Unblock and restart the Wi-Fi service.

echo -e "Unblocking wifi...\n"

rfkill unblock wifi
nmcli networking on
nmcli radio wifi on
nmcli device wifi rescan 2>/dev/null || true
rfkill list wifi
