knowledge/technology/applications/cli/handlr.md
2024-03-19 09:25:42 +01:00

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
```