Files
TUI-WM/config.toml
Bjorn Blomberg 339ad9530e Implement Kitty graphics protocol for background image rendering
- Added `kitty_gfx` module to handle loading, scaling, and displaying background images using the Kitty graphics protocol.
- Integrated background image handling into the main application loop, allowing dynamic updates based on configuration.
- Enhanced terminal rendering to support transparent backgrounds when a Kitty image is active.
- Updated IPC server to manage client connections and messages, including handling background image settings.
- Modified `PtyTerminal` to accept additional environment variables during shell spawning.
- Improved rendering logic to support popup dialogs and terminal background color customization.
2026-03-29 04:28:31 +02:00

42 lines
1.4 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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"
[[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" }
# Avsluta TUI-WM när skrivbordet är fokuserat
[[keybind]]
key = "ctrl+q"
scope = "wm"
label = "Avsluta TUI-WM"
action = { type = "exit" }