2026-01-31.13-40-45.mp4
This is a fork of the snappy-switcher.
The window switcher that actually understands your workflow.
wswitch works with any Wayland compositor that implements the foreign-toplevel protocol, such as Mango, Sway, and more.
|
Using Yay yay -S wswitch |
Using Paru paru -S wswitch |
📦 Build from PKGBUILD
git clone https://github.com/DreamMaoMao/wswitch.git
cd wswitch
makepkg -si📋 Dependencies
| Package | Purpose |
|---|---|
wayland |
Core protocol |
cairo |
2D rendering |
pango |
Text layout |
json-c |
IPC parsing |
libxkbcommon |
Keyboard handling |
glib2 |
Utilities |
librsvg |
SVG icons (optional) |
Install dependencies (Arch):
sudo pacman -S wayland cairo pango json-c libxkbcommon glib2 librsvg# Build
make
# Install system-wide
sudo make install PREFIX=/usrwswitch-install-configThis copies themes and creates ~/.config/wswitch/config.ini.
Add these lines to ~/.config/mango/config.conf:
# Start the daemon on login
exec-once = wswitch --daemon
# Keybindings
bind=Alt,Tab,spawn,wswitch nextreloagin your session and Press Alt + Tab to see it in action.
Edit ~/.config/wswitch/config.ini:
[theme]
name = catppuccin-mocha.iniDetails
# ~/.config/wswitch/config.ini
[general]
# overview = Show all windows individually
# context = Group tiled windows by workspace + app class
mode = context
[theme]
name = wswitch-slate.ini
border_width = 2
corner_radius = 12
[layout]
card_width = 160
card_height = 140
card_gap = 10
padding = 20
max_cols = 5
icon_size = 56
[icons]
theme = Tela-dracula
fallback = hicolor
show_letter_fallback = true
[font]
family = Sans
weight = Bold
title_size = 10| Command | Description |
|---|---|
wswitch --daemon |
Start background daemon |
wswitch next |
Cycle to next window |
wswitch prev |
Cycle to previous window |
wswitch toggle |
Show/hide switcher |
wswitch hide |
Force hide overlay |
wswitch select |
Confirm current selection |
wswitch quit |
Stop the daemon |
| Project | Contribution |
|---|---|
| snappy-switcher | Massive inspiration for the design of the window switcher |
Licensed under GPL-3.0