Windows-style Alt-Tab window switcher for Sway (Wayland)
If you used sagb/alttab on X11, then this is for you.
- GTK4 visual window switcher with icons
- MRU (Most Recently Used) window ordering
- Alt+Tab to cycle forward, Shift+Tab to cycle backward
- Alt release to select window
- Can display windows from current workspace or all workspaces
- No special permissions required (no udev rules or input group)
If you're using Arch Linux, you can install from the AUR:
- sway-alttab-gui-bin
- No DIY build from source package yet (can be added and maintained on request)
- Install required runtime dependencies
gtk4gtk4-layer-shell- Sway (duh)
- Then choose one of the following methods to get the binary
- Download the latest binary from GitHub releases
- Build and install from source with
cargo build --git=https://github.com/itsjfx/sway-alttab-gui - Or clone the repository yourself, and build the binary with
cargo build --release
exec --no-startup-id sway-alttab-gui daemon
bindsym Mod1+Tab exec sway-alttab-gui showFor first time usage: reload your Sway configuration and run the daemon manually with sway-alttab-gui daemon
sway-alttab-gui daemon can optionally take:
--mode all: to list windows across all workspaces--verbose: to enable verbose logging