Task switcher
Settings → System → Task switcher
This page turns on Katofli's own Alt+Tab switcher, drawn in your theme with a live preview of each window. It is off until you turn it on.
Alt+Tab switcher
While it is open: Tab or the arrow keys move, Shift+Tab moves back, releasing Alt switches, Esc cancels, and Delete or a middle-click closes the window.
Reset to defaults. A button in the card's header. It puts every setting on this card back to its default and leaves the rest of your config file as it is. It asks you to confirm first.
Use Katofli's task switcher. Opens on Alt+Tab and Alt+Shift+Tab. Turn it off and the system switcher comes back at once, no restart needed. Default: off. Takes effect at once. Config: [task-switcher] enabled.
Note: when it is on, a status line can appear. "The keyboard hook could not start, so Alt+Tab stays with the system switcher." means Alt+Tab is not taken over. "Katofli's switcher did not appear in time on the last Alt+Tab, so the system switcher took over. The log has the details." means the last attempt fell back.
Extra shortcut. A second way to open it: Alt and one key you pick. Press the key again to move on, and release Alt to switch. Default: None. Config: [task-switcher] shortcut (empty for none). It shows the current keys, with these buttons:
- Set a shortcut (or Change when one is set) opens a box. Click it, then press Alt and one key; Esc cancels. A line under the box says "Checking…", "Available." (with a note if there is a caveat), "Reserved by {owner}.", "In use by {owner}.", or why the key cannot be used. Only Alt and one key work: Ctrl, Shift and Win cannot be part of it, and Tab, Esc, Delete, F4 and the arrow keys are taken. A letter, a digit, an F key or a punctuation key works.
- Save is available once the shortcut is free. Cancel closes the box. Saving takes effect at once.
- Remove clears the shortcut.
Note: while the switcher is on, pressing the current shortcut or Alt+Tab in the box opens the switcher instead of recording it; turn the switcher off to re-record. The shortcut follows the key's position on a US layout, so on other keyboard layouts a letter or punctuation key may differ. If the shortcut cannot be saved, the page says "Couldn't save this shortcut. It must be Alt and one key, such as Alt+Q."
Show windows from. Every window on every screen, or only the windows on the screen the switcher opens on. Default: Every monitor. Choices: Every monitor (all), The bar's monitor (current). Takes effect at once. Config: [task-switcher] monitors.
Desktops. Only the windows on the virtual desktop you are on, or the windows on all of them. Default: The current desktop. Choices: The current desktop (current), Every desktop (all). Takes effect at once. Config: [task-switcher] desktops.
Layout. Grid shows a live preview of each window. List shows one row per window with its icon and title, without previews. Default: Grid. Choices: Grid, List. Takes effect at once. Config: [task-switcher] view.
Pop-up size. How big the switcher opens. A larger size shows more windows at once. It never opens larger than your screen. Default: Medium. Choices: Small, Medium, Large, Extra large (s, m, l, xl). Takes effect at once. Config: [task-switcher] popup-size.
Common tasks
- To use the switcher: turn on Use Katofli's task switcher, then press Alt+Tab.
- To go back to the system switcher: turn the switch off.
- To add a second shortcut: select Set a shortcut, click the box and press Alt and a key, then Save.
- To see only windows on this screen: set Show windows from to The bar's monitor.
- To save space or skip previews: set Layout to List.