- window_switcher action: overlay listing windows in most-recently-used order; Tab/arrows cycle, Enter confirms, Esc cancels. Bound to alt+tab with alt+w as fallback for terminals that swallow alt+tab - snap_left/snap_right actions (alt+left/alt+right) tile the focused window to half the content area; dragging a window to the screen edge snaps it too - maximize action (alt+up) toggles maximize/restore, double-click on the title bar does the same; restore returns the pre-snap geometry - Panel: separator between focus dot and buttons, separators between right-docked status widgets, and item widths now use display width (fixes rects for åäö/wide labels) - Integration suite: 23 checks, all passing Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
86 lines
2.5 KiB
TOML
86 lines
2.5 KiB
TOML
# TUI-WM konfiguration
|
||
|
||
# Bakgrundsbild (Kitty graphics protocol — kräver Kitty/Ghostty/WezTerm)
|
||
background_image = "/home/brasse/Bilder/backrunder/pexels-veeterzy-38136.jpg"
|
||
|
||
# Bakgrundsfärg för virtuella terminaler.
|
||
# Om inte satt → genomskinlig (bakgrundsbild syns igenom).
|
||
# Stödjer: "#RRGGBB", "0"-"255" (indexed), färgnamn (black, red, etc.)
|
||
# terminal_bg_color = "#1a1a2e"
|
||
|
||
# Standard-shell för nya terminaler. Om inte satt → $SHELL eller /bin/bash.
|
||
# default_shell = "/bin/fish"
|
||
|
||
# Antal raders scrollback-historik per virtuell terminal (default: 1000).
|
||
# Scrolla med mushjulet i fönster vars app inte själv fångar musen;
|
||
# tangenttryck hoppar tillbaka till botten.
|
||
# scrollback_lines = 1000
|
||
|
||
# Visa scrollbar på terminalfönstrens högerkant när historik finns (default: true)
|
||
# show_scrollbar = true
|
||
|
||
# Standardstorlek [bredd, höjd] för nya terminalfönster (default: [82, 26])
|
||
# default_window_size = [82, 26]
|
||
|
||
[[panel]]
|
||
position = "top"
|
||
file = "panels/topbar.toml"
|
||
|
||
# ── Keybinds ──────────────────────────────────────────────────────────────────
|
||
# scope = "global" → alltid aktiv, även när en terminal har fokus
|
||
# scope = "wm" → bara aktiv när ingen terminal är fokuserad (default)
|
||
|
||
# Öppna Tui-run kommandodialog (global – funkar alltid)
|
||
[[keybind]]
|
||
key = "ctrl+space"
|
||
scope = "global"
|
||
label = "Öppna kommandodialog"
|
||
action = { type = "spawn_run_dialog" }
|
||
|
||
# Starta ny terminal med Alt+Enter
|
||
[[keybind]]
|
||
key = "alt+enter"
|
||
scope = "global"
|
||
label = "Ny terminal"
|
||
action = { type = "spawn_terminal" }
|
||
|
||
# Fönsterväxlare (Alt+Tab-overlay i MRU-ordning).
|
||
# OBS: vissa terminaler/skrivbord fångar alt+tab själva — alt+w är reserv.
|
||
[[keybind]]
|
||
key = "alt+tab"
|
||
scope = "global"
|
||
label = "Fönsterväxlare"
|
||
action = { type = "window_switcher" }
|
||
|
||
[[keybind]]
|
||
key = "alt+w"
|
||
scope = "global"
|
||
action = { type = "window_switcher" }
|
||
|
||
# Fäst fokuserat fönster som vänster/höger halvskärm
|
||
[[keybind]]
|
||
key = "alt+left"
|
||
scope = "global"
|
||
label = "Fäst vänster"
|
||
action = { type = "snap_left" }
|
||
|
||
[[keybind]]
|
||
key = "alt+right"
|
||
scope = "global"
|
||
label = "Fäst höger"
|
||
action = { type = "snap_right" }
|
||
|
||
# Maximera/återställ fokuserat fönster (även dubbelklick på titelraden)
|
||
[[keybind]]
|
||
key = "alt+up"
|
||
scope = "global"
|
||
label = "Maximera/återställ"
|
||
action = { type = "maximize" }
|
||
|
||
# Avsluta TUI-WM när skrivbordet är fokuserat
|
||
[[keybind]]
|
||
key = "ctrl+q"
|
||
scope = "wm"
|
||
label = "Avsluta TUI-WM"
|
||
action = { type = "exit" }
|