Repository navigation
Automatic Switching
RigSwap can switch setups by itself when your hardware changes: when you plug in or unplug an eGPU, go on battery, or connect a monitor.
- Right-click a setup at the top and choose Use automatically when….
- Pick the conditions. All of the ones you set must be true; leave the rest on Doesn't matter.
- The dialog shows what RigSwap sees right now and whether your rule matches it.
- Turn on Auto-switch at the top.

| Condition | Example use |
|---|---|
| External GPU: connected / not connected | Your eGPU dock |
| GPU name contains | A specific card, e.g. RTX 4070, if you have more than one dock |
| Power: plugged in / on battery | A laptop's "on the go" setup |
| External display: connected / not connected | A TV or monitor setup |
A typical pair: eGPU Dock when External GPU: Connected, and Handheld when External GPU: Not connected.
Setups are checked from left to right, and the first one that matches wins. Use Move left / Move right (right-click a setup) to change the order. A setup with no conditions is only ever used when you pick it.
RigSwap doesn't guess from GPU names. It asks the operating system whether each graphics card can be removed:
- Windows: every display adapter has a removal policy. A built-in GPU is "never removed"; a GPU in a Thunderbolt, USB4 or OCuLink enclosure can be.
-
Linux: the kernel marks PCI devices behind such ports as
removable(Linux 5.12 or newer).
So any brand of eGPU and any dock works. Run rigswap hardware to see exactly what RigSwap sees:
GPU: AMD Radeon 780M (built in)
GPU: NVIDIA GeForce RTX 4070 (external)
Power: plugged in
External displays: 1
Matching setup: eGPU Dock
If your eGPU shows as (unknown), use the GPU name contains condition instead.
- RigSwap checks the hardware every few seconds. After a change it waits for it to settle (an eGPU appears in stages) before switching.
- It never switches under a running game. If you unplug while playing, it waits, tells you ("RigSwap will switch when you close Elden Ring"), and switches once the game closes.
- If a switch fails, RigSwap tells you once and tries again the next time the hardware changes.
While Auto-switch is on, RigSwap shows a tray icon. Its menu switches setups, toggles Auto-switch, turns Start at login on or off, and quits RigSwap. Closing the window keeps RigSwap running in the tray, so automatic switching keeps working; notifications tell you when it switches.
Start at login (offered when you turn on Auto-switch) starts RigSwap minimised to the tray when you log in:
- Windows: an entry in your account's startup apps (no admin needed; it also appears in Task Manager's Startup apps).
-
Linux: a standard autostart entry,
~/.config/autostart/rigswap.desktop.
For sessions without a tray, such as a gaming mode, RigSwap can run in the background instead:
rigswap autostart on --headless # a systemd user service that runs 'rigswap watch'Or run rigswap watch yourself; it prints what it does and runs until stopped.
rigswap setup when "eGPU Dock" --external-gpu yes
rigswap setup when "Handheld" --external-gpu no
rigswap setup move "eGPU Dock" 1 # checked first
rigswap hardware # what RigSwap sees, and which setup matches
rigswap watch # switch automatically until stopped
rigswap autostart on # start the app in the tray at loginRigSwap · GPL-3.0 · Report a problem