1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages/linux/handlr.md
Vitor Henrique d79a1667e3
pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

28 lines
568 B
Markdown

# 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:
`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}}`