1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/handlr.md

29 lines
568 B
Markdown
Raw Normal View History

2023-03-11 22:14:23 +01:00
# handlr
> Manage your default applications.
> More information: <https://github.com/chmln/handlr>.
- Open a URL in the default application:
`handlr open {{https://example.com}}`
- Open a PDF in the default PDF viewer:
`handlr open {{path/to/file.pdf}}`
- Set `imv` as the default application for PNG files:
2023-03-11 22:14:23 +01:00
`handlr set {{.png}} {{imv.desktop}}`
- Set MPV as the default application for all audio files:
`handlr set {{'audio/*'}} {{mpv.desktop}}`
- List all default apps:
`handlr list`
- Print the default application for PNG files:
`handlr get {{.png}}`