alt+tab is grabbed by desktop WMs and alt+arrows are re-encoded or swallowed by several terminals, leaking plain arrow keys into the focused window. Primary defaults are now letter chords which every terminal delivers via ESC-prefix: alt+w (switcher), alt+h/alt+l (snap), alt+m (maximize). The alt+tab/arrow variants stay as extra bindings, and standalone/client now enable the kitty keyboard protocol (DISAMBIGUATE_ESCAPE_CODES) when the terminal supports it so even those are delivered unambiguously (Konsole 23.08+, kitty, foot, wezterm, ghostty). 34/34 integration checks. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
102 lines
2.4 KiB
TOML
102 lines
2.4 KiB
TOML
# TUI-WM konfiguration – Windows
|
||
# Skapad av `tui-wm --init`. Dokumentation: `tui-wm --help` och README.md.
|
||
# Filen (och panels/teman den pekar på) hot-reloadas när den sparas.
|
||
|
||
# Tema — egna teman läggs som TOML-filer i themes/
|
||
theme = "themes/dark.toml"
|
||
|
||
# Skugga under/till höger om fönster
|
||
shadow = true
|
||
|
||
# Scrollback-historik per terminal + scrollbar på högerkanten
|
||
scrollback_lines = 1000
|
||
show_scrollbar = true
|
||
|
||
# Standardstorlek [bredd, höjd] för nya terminalfönster
|
||
default_window_size = [82, 26]
|
||
|
||
# Standard-shell för nya terminaler. Om inte satt → $SHELL eller /bin/bash.
|
||
# default_shell = "/bin/fish"
|
||
|
||
# Bakgrundsbild (Kitty graphics — kräver Kitty/Ghostty/WezTerm)
|
||
# background_image = "/sökväg/till/bild.jpg"
|
||
|
||
# Bakgrundsfärg för virtuella terminaler ("#RRGGBB", "0"-"255" eller färgnamn)
|
||
# terminal_bg_color = "#1a1a2e"
|
||
|
||
[[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)
|
||
|
||
[[keybind]]
|
||
key = "ctrl+space"
|
||
scope = "global"
|
||
label = "Öppna kommandodialog"
|
||
action = { type = "spawn_run_dialog" }
|
||
|
||
[[keybind]]
|
||
key = "alt+enter"
|
||
scope = "global"
|
||
label = "Ny PowerShell-terminal"
|
||
action = { type = "spawn_terminal", shell = "powershell.exe" }
|
||
|
||
[[keybind]]
|
||
key = "alt+w"
|
||
scope = "global"
|
||
label = "Fönsterväxlare"
|
||
action = { type = "window_switcher" }
|
||
|
||
[[keybind]]
|
||
key = "alt+tab"
|
||
scope = "global"
|
||
action = { type = "window_switcher" }
|
||
|
||
[[keybind]]
|
||
key = "alt+h"
|
||
scope = "global"
|
||
label = "Fäst vänster"
|
||
action = { type = "snap_left" }
|
||
|
||
[[keybind]]
|
||
key = "alt+left"
|
||
scope = "global"
|
||
action = { type = "snap_left" }
|
||
|
||
[[keybind]]
|
||
key = "alt+l"
|
||
scope = "global"
|
||
label = "Fäst höger"
|
||
action = { type = "snap_right" }
|
||
|
||
[[keybind]]
|
||
key = "alt+right"
|
||
scope = "global"
|
||
action = { type = "snap_right" }
|
||
|
||
[[keybind]]
|
||
key = "alt+m"
|
||
scope = "global"
|
||
label = "Maximera/återställ"
|
||
action = { type = "maximize" }
|
||
|
||
[[keybind]]
|
||
key = "alt+up"
|
||
scope = "global"
|
||
action = { type = "maximize" }
|
||
|
||
[[keybind]]
|
||
key = "alt+c"
|
||
scope = "global"
|
||
label = "Copy-mode (sök i historik)"
|
||
action = { type = "copy_mode" }
|
||
|
||
[[keybind]]
|
||
key = "ctrl+q"
|
||
scope = "wm"
|
||
label = "Avsluta TUI-WM"
|
||
action = { type = "exit" }
|