Omarchy Config

GPU switching

supergfxctl switches the active graphics mode at the driver level — VFIO mode hands the discrete GPU off to the hypervisor for passthrough, while Integrated mode routes all rendering through the CPU’s built-in graphics. I use these to toggle between the AMD Radeon 890M (integrated) and RTX 5070 Ti depending on whether I want to maximize battery life or run GPU-heavy workloads.

~ ❯ supergfxctl -m Vfio
Graphics mode changed to Vfio
~ ❯ supergfxctl -m Integrated
Graphics mode changed to Integrated

Checking whether WiFi or Ethernet is active

When both interfaces are up, the routing metric determines which one carries actual traffic — lower metric wins. Two commands are enough to verify.

ip route get 8.8.8.8 shows which interface real internet traffic exits through:

~ ❯ ip route get 8.8.8.8
8.8.8.8 via <gateway-ip> dev enp103s0f4u1u4 src <eth-ip> uid 1000
    cache

ip -brief addr show lists all interfaces with their metrics and assigned IPs:

~ ❯ ip -brief addr show
lo               UNKNOWN        127.0.0.1/8
wlan0            UP             <wifi-ip>/24 metric 600 ...
tailscale0       UNKNOWN        <tailscale-ip>/32 ...
docker0          DOWN           172.17.0.1/16
enp103s0f4u1u4   UP             <eth-ip>/24 metric 100 ...

In the output above enp103s0f4u1u4 (USB-hub Ethernet adapter) has metric 100 and wlan0 has metric 600, so Ethernet is preferred. The ip route get output confirms it — dev enp103s0f4u1u4 means traffic is going out via Ethernet.