- tui-wm --init [DIR] writes an embedded default config.toml,
panels/topbar.toml and themes/{dark,light}.toml (default target
~/.config/tui-wm, existing files untouched)
- Config discovery: ./config.toml wins, otherwise ~/.config/tui-wm/
is used (process switches working dir there so panels/themes/saves/
hot-reload all resolve consistently); spawned PTYs still start in
the user's original working directory
- VS Code build tasks copy themes/ into builds/, dist/ sample configs
refreshed with all new keys and the settings gear
- CI release now also uploads tui-wm-config.tar.gz (config + panels +
themes) alongside the binaries
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
28 lines
632 B
TOML
28 lines
632 B
TOML
# Standardpanel för TUI-WM (skapad av `tui-wm --init`)
|
|
|
|
[[item]]
|
|
label = "Terminal"
|
|
action = { type = "spawn_terminal", shell = "powershell.exe" }
|
|
|
|
# Inbyggda inställningar (tema/panel/skugga/scrollbar)
|
|
[[item]]
|
|
label = "≡ Inställningar"
|
|
action = { type = "spawn_settings" }
|
|
|
|
[[item]]
|
|
label = "Exit"
|
|
action = { type = "exit" }
|
|
|
|
# Status-widgets (körs periodiskt, visas till höger)
|
|
[[status]]
|
|
command = "powershell -NoProfile -Command Get-Date -Format HH:mm:ss"
|
|
interval = 1
|
|
width = 10
|
|
align = "right"
|
|
|
|
[[status]]
|
|
command = "powershell -NoProfile -Command Get-Date -Format yyyy-MM-dd"
|
|
interval = 60
|
|
width = 12
|
|
align = "right"
|