desktop-tui 0.1.2

A desktop environment without graphics (tmux-like)
desktop-tui-0.1.2 is not a library.

Desktop-TUI 🖥️

License: MIT GitHub Release Crates.io

A desktop environment without graphics (tmux-like).

Features:

  • Parse shortcut files containing apps
  • Display any application or command that uses stdout
  • Move and resize windows
  • Change tilling options
  • Handle application error
  • Select a file or a folder to then use it as an application or command argument
  • Use the Crossterm backend when bugs are resolved. currently using ncurses but colors are wrong.
  • Handle GNU applications and commands crash

demo

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
name = "Text editor"

# Command to execute
binary_path = "hx"

# Each command argument
# <FILE_PATH> or <FOLDER_PATH> will be replaced by a path selected in a dialog
args = ["<FILE_PATH>"]

# Pad inner window
padding = [0, 0]

# Shortcut position on the action bar
position = 3

Star history

License

The MIT license for this project can be seen here