Skip to content

Commit

Permalink
docs: mention how to set the viewer for --open
Browse files Browse the repository at this point in the history
This info was in the manpage but not the Guide nor Info manual.
  • Loading branch information
fosskers committed Aug 14, 2024
1 parent 84584d1 commit 0f158ef
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions book/src/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ of dependency load. The output of `-Qi` and `-Si` includes dependency
information, but only one layer deep in either direction. In these cases, `aura
deps` is a useful command.

By default it writes a `.png` to the current directory, but with `--open` will
output to `/tmp` and open the image in the default viewer instead. If the image
isn't opening in the viewer you prefer, you can alter it in
`~/.config/mimeapps.list`. For instance:

```
[Default Applications]
image/png=swayimg.desktop
```

The available `.desktop` entries can be found in `/usr/share/applications/`.

## Displaying Dependencies

```
Expand Down
14 changes: 14 additions & 0 deletions misc/aura.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,20 @@ might be, in terms of dependency load. The output of @code{-Qi} and
@code{-Si} includes dependency information, but only one layer deep in
either direction. In these cases, @code{aura deps} is a useful command.

@cindex deps --open
By default it writes a @code{.png} to the current directory, but with
@code{--open} will output to @code{/tmp} and open the image in the
default viewer instead. If the image isn't opening in the viewer you
prefer, you can alter it in @code{~/.config/mimeapps.list}. For
instance:

@example
[Default Applications]
image/png=swayimg.desktop
@end example

The available @code{.desktop} entries can be found in @code{/usr/share/applications/}.

@node Displaying Dependencies
@subsection Displaying Dependencies
@cindex deps, Displaying Dependencies
Expand Down

0 comments on commit 0f158ef

Please sign in to comment.