handlr-get(1)

πŸ“¦ version 0.13.0, in nixos 26.05, nixpkgs unstable

πŸ’… handlr-get(1) β€” like, the manual page for handlr-get

okay so bestie, welcome to the glow-up of handlr-get(1) from the General Commands Manual. this is the page where you learn how to ask handlr "hey girl, who's handling this file type?" πŸŽ€


✨ NAME ✨

handlr-get β€” Get handler for this mime/extension 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

handlr get [--json] [-s|--selector] [-e|--enable-selector]
[-n|--disable-notifications] [-t|--force-terminal-output]
[-v|--verbose]... [-q|--quiet]... [-h|--help] <MIME>

πŸ’– DESCRIPTION πŸ’–

Get handler for this mime/extension. that's the whole vibe, honestly.

so here's the tea β˜•: if multiple handlers are set and enable_selector is set to true, you will be prompted to select one using selector from ~/.config/handlr/handlr.toml. Otherwise, only the default handler will be printed. no cap, that's it.

🫢 heads up bestie: note that regex handlers are not supported by this subcommand currently. like, they're just not invited to this party rn.

When using --json, output is in the form:

{
  "cmd": "helix",
  "handler": "helix.desktop",
  "name": "Helix" }

Note that when handlr is not being directly output to a terminal, and the handler is a terminal program, the "cmd" key in the json output will include the command of the x-scheme-handler/terminal handler. lowkey iconic behavior tbh πŸ”₯


⭐ OPTIONS ⭐

  • --json β€” Output handler info as json 🧚
  • -s, --selector=SELECTOR β€” Override the configured selector command
  • -e, --enable-selector=ENABLE_SELECTOR β€” Override whether or not the selector is enabled
    • [possible values: true, false]
  • -n, --disable-notifications β€” Disable notifications on error πŸ™ˆ
  • -t, --force-terminal-output=TERMINAL_OUTPUT β€” Overrides whether or not to behave as if the output is an interactive terminal
    • [possible values: true, false]
  • -v, --verbose β€” Increase logging verbosity πŸ‘‘ (stack it, it repeats: -v...)
  • -q, --quiet β€” Decrease logging verbosity 🀫 (also stackable: -q...)
  • -h, --help β€” Print help (see a summary with -h)

<MIME> β€” Mimetype to get the handler of πŸ’œ


okay that's the whole page, periodt. πŸ“ this was the get page, filed under handlr-get(1) β€” go forth and query your mime types with main character energy, bestie πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from