Crates.io | defaultmgr |
lib.rs | defaultmgr |
version | 0.5.0 |
source | src |
created_at | 2023-09-14 13:59:11.504042 |
updated_at | 2023-09-14 13:59:11.504042 |
description | System for choosing default applications, programs, and utilities |
homepage | https://github.com/hyperupcall/default |
repository | |
max_upload_size | |
id | 972695 |
size | 53,727 |
System for choosing default applications, programs, and utilities
TODO: generate executables for fast exec
Like update-alternatives
, but local to user and more flexible. Requires a database of applications and their defaults at "${XDG_CONFIG_HOME:-$HOME/.config}/chooses/defaults"
Control which applications are selected when opening a file. This works irrespective of the desktop environment. xdg-open
falls flat because it doesn't work with directories. Furthermore, different applications can be configured to work in a different context (X, Terminal emulator, Linux console).
Since these are just shell scripts, arbitrary arguments should be supported, like --column
and --row
for example, if using a text editor.
The current 'Browser' or 'Image Viewer' can be launched. Again, this is intended to work across distributions and user interfaces.
See more info in details.md
cargo install exa