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

536 B

obj repo
application https://github.com/chmln/handlr

Handlr

Manage your default applications with ease using handlr!

Open files in default application:

handlr open <file>

List default apps:

handlr list

Get default app:

handlr get .png

Set default apps:

# 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