desktop-tui-0.3.0 is not a library.
Desktop-TUI 🖥️
A desktop environment without graphics (tmux-like).
Features:
- Parse shortcut files containing apps
- Custom additional commands
- Custom window options
- Custom terminal options
- Display any application or command that uses stdout
- Move and resize windows
- Handle and display application error
- Change tilling options
- Can let the user select a file or a folder to use its path as a command argument

How to use
Install
cargo install desktop-tui
Compile
cargo build
cargo build --release
Run
You can replace cargo run -- with desktop-tui
cargo run -- <shortcut_folder_path>
Or in release :
cargo run --release -- <shortcut_folder_path>
Shortcut file
Example helix.toml shortcut file:
# Window name
= "Text editor"
# Command to execute
= "hx"
# Each command argument
= []
[]
# Shortcut position on the action bar
# Optional
= 3
# Optional
[[]]
# Command name
= "Open folder"
# Command to execute
= "hx"
# <FILE_PATH> or <FOLDER_PATH> will be replaced by a path selected in a dialog
= ["<FOLDER_PATH>"]
[[]]
= "Open file"
= "hx"
= ["<FILE_PATH>"]
[]
= true
= true
= false
# Optional
= { = 10, = 5 }
[]
# Pad inner window
= [0, 0]
# Optional
= { = 30, = 30, = 30 }
Star history
License
The MIT license for this project can be seen here