Configuration reference
TilesFlow reads ~/.config/tilesflow/config.toml and reloads it on every save. Everything is optional: a value
that isn’t set keeps the default shown here. Remove the # in front of a line to change it.
# TilesFlow configuration — ~/.config/tilesflow/config.toml# This file is yours: TilesFlow only reads it (hot-reloaded on save) and never writes to it.# Resizes, workspaces and slot memory live in ~/.local/state/tilesflow/state.toml (written by TilesFlow).[general]
Section titled “[general]”[general]# Max time for any Accessibility call into an app (ms). A frozen app is skipped after this.ax_timeout_ms = 200# Wait this long after the last display change before reacting (plug/unplug fires bursts).display_debounce_ms = 750# How often TilesFlow re-checks its window model against reality (ms).reconcile_interval_ms = 3000# Space between tiles (points).gap = 8# Margin around all tiles, like CSS margin: 8 · [vertical, horizontal] · [top, horizontal, bottom] · [top, right, bottom, left]outer_gap = 8# Workspaces start at one per display: [+] in the taskbar (or "workspace new" / R⌥R⌘ + a number past the last)# adds one, and an empty workspace disappears when you leave it — the others renumber.dynamic_workspaces = true# ⌘Tab shows every window (most recent first, all screens and workspaces) instead of apps.# While it's open: ⌘Tab / ⌘⇧Tab / arrows move, release ⌘ or Return = go there, Esc = cancel.window_switcher = false# The chord in front of every binding, mouse drag and the kill switch:# "right-option-command" right ⌥ + right ⌘ held together (left ⌥⌘ stays with apps) — every Mac keyboard has both# "option-command" ⌥ + ⌘ on either side (easier, but apps' own ⌥⌘ shortcuts are taken over)# "hyper" ⌃ + ⌥ + ⇧ + ⌘# or your own: ctrl / opt / shift / cmd joined by "+", l / r prefix = only that side — "rcmd+ropt", "lctrl+lopt"# (Setup → Chord records one for you.)modifier = "right-option-command"# The most workspaces per display (1–9); with dynamic_workspaces = false, exactly this many.workspaces = 9# Keyboard resize step (fraction of the display).resize_step = 0.05# A new window with no empty slot to go to: "split" the focused slot along its longer side# (the new window takes the right / bottom half) or "stack" it on top of the focused window.new_window = "split"# Don't split when a half would be smaller than this (points) — the window is stacked instead.split_min_width = 400split_min_height = 300# When the last window leaves a slot (closed, minimized, stacked onto another, sent away) the slot is removed and# its neighbours grow into the space (the rest of its column share it, else the rest of its row); a minimized window# coming back reopens it. R⌥R⌘ ⇧Backspace restores the layout.collapse_on_close = true# Keyboard focus brings the mouse pointer along (as in Hyprland): moving focus, moving a window, switching# workspaces put it in the middle of the focused tile (left alone if it's already inside). macOS scrolls the window# under the pointer, so scrolling then goes to the focused window. Mouse clicks never move it.warp_cursor = true# macOS fullscreen on a tile (green button, ⌃⌘F, fn+F, Window menu, video players): "monocle" = the tile covers# its display instead, like R⌥R⌘ Z (a browser video then leaves its fullscreen); "allow" = native fullscreen.native_fullscreen = "monocle"
# ── Layouts ───────────────────────────────────────────────────────────────────────# CSS-grid-areas style: each name is a slot (must be a rectangle), "." leaves a cell unused.# columns / rows are relative sizes (default: equal). Built-in: full, halves, thirds, main-side, wide-center.# Editing a layout here drops its saved resize.#[layout.main-side]
Section titled “[layout.main-side]”# [layout.main-side]# columns = [3, 2]# rows = [1, 1]# areas = ["main top",# "main bottom"]
# ── Displays ──────────────────────────────────────────────────────────────────────# Per-display settings: layouts (cycled with R⌥R⌘ Space), gap, outer_gap (same forms as in [general]).# Each setting comes from the first matching entry that sets it, so an entry can set just the gaps.# match: builtin | external | * | display name | display uuid (see `tilectl dump`)# profile (optional): docked | laptop-only | clamshell# Default layouts: external → main-side, thirds, wide-center, halves, full; builtin → halves, full.#[[display]]
Section titled “[[display]]”# [[display]]# match = "external"# layouts = ["main-side", "thirds", "full"]## [[display]]# match = "builtin"# profile = "laptop-only"# layouts = ["halves", "full"]## [[display]]# match = "builtin"# gap = 4# outer_gap = [4, 4, 4, 4]
# ── Keybindings ───────────────────────────────────────────────────────────────────# All bindings are R⌥ + R⌘ + [shift/ctrl +] key. Yours override the defaults; "none" unbinds.# Defaults: w a s d focus up/left/down/right# shift + w a s d move (swap with the neighbour, or into an empty slot; crosses displays)# ctrl + w a s d resize the focused slot# 1–9 / shift + 1–9 workspace / send window to workspace# tab / shift + tab cycle the slot's stack# space / shift+space next / previous layout# f float · z monocle · x scratch · shift + x pop from scratch · Esc pause (kill switch)# e overview (all workspaces; click a window / card, Esc closes) · c presentation mode (TilesFlow# hidden from screen sharing until toggled off)# ctrl + shift + WASD add the focused window to the neighbouring slot's stack# backspace remove the selected empty slot (the neighbour grows)# shift + backspace reset the layout (undo splits / removals on this workspace)# Mouse: R⌥R⌘ + drag a tile: centre = swap, edges = split that slot, hold shift = add to its stack# R⌥R⌘ + right-drag: resize (moves the grid lines nearest the cursor) · click an empty slot = select it# hold the left button on an empty slot for 2 s = remove it# Actions: focus|move|join|resize <dir>, workspace|send <n>, stack next|prev, layout next|prev|<name>,# float, monocle, scratch, scratch-pop, remove-slot, layout reset, reload, workspace new, overview,# presentation (same as `tilectl dispatch …`)## Keys on top of the chord: shift / ctrl / opt / cmd (only ones the chord doesn't hold). Setup → Shortcuts edits this# section (it writes only what differs from the defaults) and checks for clashes with macOS and running apps.[bind]
Section titled “[bind]”# [bind]# q = "layout full"# "opt+q" = "overview"# "shift+tab" = "none"
# ── Appearance ────────────────────────────────────────────────────────────────────# TilesFlow's own overlays, drawn above windows and click-through (except the resize handles).# Colours: "#rrggbb" or "#rrggbbaa". Shown values are the defaults.#[appearance]
Section titled “[appearance]”# [appearance]# border_width = 2 # focused window border (0 = none)# border_color = "#7aa2f7"# border_radius = 16 # follow your windows' rounded corners (0 = square)# inactive_border_width = 0 # outline on every other tile (0 = none)# inactive_border_color = "#ffffff33"# resize_handles = true # drag the gaps between tiles (the corner discs move both lines)# handle_size = 12# handle_color = "#7aa2f7"# drop_color = "#7aa2f7" # where a dragged tile lands# block_native_resize = true # no resize-by-window-edge on tiles (use handles / R⌥R⌘ right-drag / ctrl+WASD)# hide_from_capture = true # keep overlays out of screen sharing / recordings# tab_height = 26 # tab bar over stacks of 2+ windows (0 = none); click a tab = show it,# # middle-click / × = close that window# tab_color = "#1a1b26e6"# tab_active_color = "#7aa2f7"# tab_text_color = "#c0caf5"# window_buttons = false # TilesFlow's own × – ⛶ ≡ (close, scratch, monocle, app menus) on every window# window_buttons_side = "left" # "left": over the window's own red / yellow / green buttons; "right": tile's top-right
# ── Taskbar ───────────────────────────────────────────────────────────────────────# One bar per display, full width at the bottom (tiles end above it); Apple's menu bar and Dock stay hidden.# Left: workspaces + [+] (adds one; an empty workspace disappears when you leave it). Then the apps on that# display: pinned first, then apps with windows there; running apps without windows sit on the main display.# click = the app's most recent window on this display (again = cycle through them);# no window here = its window elsewhere, or a new window here / launch it# right-click = its windows, "New window in profile" (Chrome, Brave, Edge, Vivaldi, Chromium — read from# the browser, nothing to configure), your actions below, Show in Finder, Copy Bundle ID, Hide, Quit# drop files = open them with that app# Right: status items, each with a dropdown (scroll over volume to change it).## [bar]# enabled = true # false: no taskbar — Apple's Dock and menu bar stay (the setup's macOS# # settings then leave them as they were)# position = "bottom" # or "top" (fills the notch band on a notched display)# use_notch = true # notched MacBook screen: the bar goes into the band beside the notch# # (windows can't use it anyway) and the bottom stays free for tiles# height = 34# icon_size = 22# pinned = ["com.apple.finder"] # bundle ids (right-click an app → Copy Bundle ID)# font_size = 13# background = "#1a1b26"# foreground = "#c0caf5"# accent = "#7aa2f7" # active workspace, focused app# muted = "#565f89"# mic_color = "#ff9e64"# camera_color = "#9ece6a"# clock_format = "EEE d MMM HH:mm" # Unicode date pattern; add ":ss" for seconds# hide_from_capture = false# Status items, left to right:# tray other menu-bar items, mirrored (click = their own menu). On macOS 27 only Apple's extras# (Now Playing, Hearing, Display…) are reachable; third-party icons stay in Apple's menu bar# scratch windows sent to scratch (pick one to bring it back)# mic-camera shown while the microphone / a camera is in use# input keyboard layout (switch layouts) bluetooth paired devices (click = connect / disconnect)# wifi signal, on / off, network name* volume slider, mute, output device# battery level, time remaining clock date, week, Calendar# * macOS shows network names only to apps allowed to use Location: pick "Show Network Name…" once.# items = ["tray", "scratch", "mic-camera", "input", "bluetooth", "wifi", "volume", "battery", "clock"]## Your own entries in an app's right-click menu — exactly one of menu / keys / shell:[[bar.action]]
Section titled “[[bar.action]]”# [[bar.action]]# app = "com.google.Chrome"# title = "New Incognito Window"# menu = ["File", "New Incognito Window"] # press a menu item## [[bar.action]]# app = "com.googlecode.iterm2"# title = "New Window"# keys = "cmd+n" # cmd / shift / ctrl / opt + key## [[bar.action]]# app = "com.apple.finder"# title = "Downloads"# shell = "open ~/Downloads"
# ── Window rules ──────────────────────────────────────────────────────────────────# First match wins; yours are checked before the built-in ones.# Matchers: app (bundle id, exact), title (regex), subrole (e.g. "AXDialog"). All given matchers must match.# Actions: float = true|false; display / workspace / slot = where new windows of this kind go.# Find a window's bundle id / title / subrole with: tilectl dump#[[rule]]
Section titled “[[rule]]”# [[rule]]# app = "com.apple.ActivityMonitor"# float = true## [[rule]]# app = "com.tinyspeck.slackmacgap"# display = "builtin"# workspace = 2## [[rule]]# app = "com.google.Chrome"# title = "^Picture in Picture$"# float = true