handlr(1)

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

πŸ’… handlr(1) β€” the general commands manual, but make it cute

okay bestie, welcome to the handlr page πŸŽ€ it's a General Commands Manual entry, and honestly? it ate.


✨ NAME ✨

handlr β€” a fork of handlr, but with regex support πŸ¦‹

🌸 SYNOPSIS 🌸

handlr [-n|--disable-notifications] [-t|--force-terminal-output]
[-v|--verbose]... [-q|--quiet]... [-h|--help] [-V|--version]
<subcommands>

like, that's the whole vibe. flags first, subcommands after, no cap. πŸ’«

πŸ’– DESCRIPTION πŸ’–

A better xdg-utils. periodt.

It's a resource opener with support for wildcards, multiple handlers, and regular expressions β€” she's versatile, she's iconic. πŸ‘‘

Based on handlr at <https://github.com/chmln/handlr> β€” shoutout to the original, fr fr 🫢

Regular expression handlers inspired by mimeo at <https://xyne.dev/projects/mimeo/> β€” cute, we love credit where credit's due ✨

the important file locations, memorize these bestie (jk, just bookmark them):

  • Mime associations file location: $XDG_CONFIG_HOME/mimeapps.list πŸ“„
  • Config file location: $XDG_CONFIG_HOME/handlr/handlr.toml βš™οΈ
  • Log file location: $XDG_CACHE_HOME/handlr/handlr.log πŸ“

πŸ”₯ OPTIONS πŸ”₯

okay so here's the flag menu, and every single one is a little main character:

  • -n, --disable-notifications β€” turns off notifications when an error happens. lowkey blessed if the popups are stressing you out πŸ™ˆ
  • -t, --force-terminal-output=TERMINAL_OUTPUT β€” overrides whether or not to behave as if the output is an interactive terminal. possible values: true, false. yes, exactly those two, no improvising πŸ‘€
  • -v, --verbose β€” cranks the logging verbosity UP. you can stack it (...) so like, go off πŸ—£οΈ
  • -q, --quiet β€” decreases logging verbosity. the opposite vibe, also stackable (...) 🀫
  • -h, --help β€” prints help (see a summary with -h). the classic πŸ’…
  • -V, --version β€” prints the version ⭐

πŸ¦‹ SUBCOMMANDS πŸ¦‹

each one's got its own whole manpage, so this is just the meet-cute:

  • handlr-list(1) β€” List default apps and the associated handlers πŸ“‹
  • handlr-open(1) β€” Open a path/URL with its default handler πŸš€
  • handlr-set(1) β€” Set the default handler for mime/extension 🎯
  • handlr-unset(1) β€” Unset the default handler for mime/extension 🧹
  • handlr-launch(1) β€” Launch the handler for specified extension/mime with optional arguments 🏁
  • handlr-get(1) β€” Get handler for this mime/extension πŸ”
  • handlr-add(1) β€” Add a handler for given mime/extension βž•
  • handlr-remove(1) β€” Remove a given handler from a given mime/extension βž–
  • handlr-mime(1) β€” Get the mimetype of a given file/URL 🧬

⭐ VERSION ⭐

v0.13.0


ngl that's the whole page bestie, you're basically a handlr expert now πŸ’œ

okay and for the cute sign-off: this was handlr 0.13.0, dated as the source/version footer says, filed under handlr(1) in the General Commands Manual πŸŽ€βœ¨ go open some files, you've earned it. 🫢

πŸ“¦ where this page comes from