desktop-tui-0.3.2 is not a library.
Desktop-TUI 🖥️
[!WARNING] This is an experimental project made in 2 days. It is not meant to be used as is nor to become the new desktop environnement standard. Feel free to fork and send PRs
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
- Clock

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>
If no path is provided, desktop-tui will try using theses paths:
- Linux:
/home/my_username/.config/desktop-tui - macOS:
/Users/MyUsername/Library/Application Support/com.Julien-cpsn.desktop-tui - Windows:
C:\Users\MyUsername\AppData\Roaming\Julien-cpsn\desktop-tui\config
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