mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 21:17:57 +01:00
handlr: add page (#9922)
This commit is contained in:
parent
8d7bd99fc7
commit
0011a2ea46
1 changed files with 28 additions and 0 deletions
28
pages/linux/handlr.md
Normal file
28
pages/linux/handlr.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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}}`
|
Loading…
Reference in a new issue