34 lines
No EOL
536 B
Markdown
34 lines
No EOL
536 B
Markdown
---
|
|
obj: application
|
|
repo: https://github.com/chmln/handlr
|
|
---
|
|
|
|
# Handlr
|
|
Manage your default applications with ease using `handlr`!
|
|
|
|
Open files in default application:
|
|
```shell
|
|
handlr open <file>
|
|
```
|
|
|
|
List default apps:
|
|
```shell
|
|
handlr list
|
|
```
|
|
|
|
Get default app:
|
|
```sh
|
|
handlr get .png
|
|
```
|
|
|
|
Set default apps:
|
|
```sh
|
|
# Set default handler for png files
|
|
handlr set .png feh.desktop
|
|
|
|
# Set wildcard handler for all text files
|
|
handlr set 'text/*' nvim.desktop
|
|
|
|
# Set default handler based on mime
|
|
handlr set application/pdf evince.desktop
|
|
``` |