mirror of
https://git.sr.ht/~sotirisp/qute-gemini
synced 2024-11-23 12:32:04 +01:00
Mention the XDG Base Directory Specification is supported
This commit is contained in:
parent
3113b038a6
commit
bb14bb3725
@ -11,10 +11,13 @@ thanks to its authors!
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
The
|
||||||
|
[XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
|
||||||
|
is supported but the default directory paths are used for simplicity.
|
||||||
|
|
||||||
1. Copy `qute-gemini` and `qute-gemini-tab` into
|
1. Copy `qute-gemini` and `qute-gemini-tab` into
|
||||||
`~/.local/share/qutebrowser/userscripts/`.
|
`~/.local/share/qutebrowser/userscripts/`.
|
||||||
|
2. Set custom keybindings for opening Gemini URLs by adding the following lines
|
||||||
2. Set custom keybinding for opening Gemini URLs by adding the following lines
|
|
||||||
to `~/.config/qutebrowser/config.py`:
|
to `~/.config/qutebrowser/config.py`:
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
@ -26,7 +29,6 @@ thanks to its authors!
|
|||||||
|
|
||||||
The script only processes `gemini://` URLs and opens all other URLs using
|
The script only processes `gemini://` URLs and opens all other URLs using
|
||||||
qutebrowser, so opening a non-`gemini://` should also work.
|
qutebrowser, so opening a non-`gemini://` should also work.
|
||||||
|
|
||||||
3. Re-source the qutebrowser config or restart qutebrowser and visit the
|
3. Re-source the qutebrowser config or restart qutebrowser and visit the
|
||||||
[Gemini spec homepage](gemini://gemini.circumlunar.space)
|
[Gemini spec homepage](gemini://gemini.circumlunar.space)
|
||||||
to ensure that everything works.
|
to ensure that everything works.
|
||||||
|
Loading…
Reference in New Issue
Block a user