Files
TUI-WM/dist/win/panels/topbar.toml
Björn Blomberg 4440ad79bd feat: add configuration management and panel rendering
- Introduced a new `Config` struct for loading application configuration from a TOML file.
- Added support for keybindings and panel configurations, including status widgets.
- Implemented `PtyTerminal` for handling pseudo-terminal interactions.
- Created a rendering module to manage the display of application windows, panels, and dropdowns.
- Refactored the main application loop to utilize the new configuration and rendering logic.
- Removed legacy code related to event handling and rendering from `main.rs`.
2026-03-27 17:01:06 +01:00

24 lines
473 B
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.

# Topbar Windows (PowerShell-kommandon)
[[item]]
label = "Terminal"
action = { type = "spawn_terminal", shell = "powershell.exe" }
[[item]]
label = "Exit"
action = { type = "exit" }
# Klocka uppdateras varje sekund (PowerShell)
[[status]]
command = "Get-Date -Format 'HH:mm:ss'"
interval = 1
width = 10
align = "right"
# Datum uppdateras varje minut (PowerShell)
[[status]]
command = "Get-Date -Format 'yyyy-MM-dd'"
interval = 60
width = 12
align = "right"