toot icon indicating copy to clipboard operation
toot copied to clipboard

Document the [M]edia action

Open dlax opened this issue 5 years ago • 3 comments

dlax avatar Jan 26 '20 10:01 dlax

The media action is really not very well implemented. I'd prefer to leave it undocumented until this is done in a better way. And that is probably blocked until some sort of user configuration is implemented where they could chose the image viewer. I'll leave this PR open for now.

ihabunek avatar Jan 26 '20 11:01 ihabunek

Ok, makes sense!

dlax avatar Jan 26 '20 12:01 dlax

Why don't we use xdg-open to open the image?

dj-bauer avatar Apr 28 '22 09:04 dj-bauer

Why don't we use xdg-open to open the image?

I would like to set a program just for toot specifically, including command-line arguments for that program.

Personally I have replaced my xdg-open with a dummy that does nothing.

miKa-pyon avatar Jan 19 '23 06:01 miKa-pyon

Thanks! I can finally merge this since configuring the media viewer was implemented recently.

λ toot tui -h
Usage: toot tui [OPTIONS]

  Launches the toot terminal user interface

Options:
  -r, --relative-datetimes  Show relative datetimes in status list
  -m, --media-viewer TEXT   Program to invoke with media URLs to display the
                            media files, such as 'feh'
  -c, --colors TEXT         Number of colors to use, one of 1, 16, 88, 256,
                            16777216, 24bit, defaults to 16 if using --color,
                            and 1 if using --no-color.
  -h, --help                Show this message and exit.

ihabunek avatar Jan 04 '24 08:01 ihabunek