Qutebrowser Matrix theme
-
Manual config
- Clone this repo or copy
matrix-qutebrowser.py
ormatrix-qutebrowser-no-tab-icons.py
. - Symlink (or just copy) the file
matrix-qutebrowser.py
to your.qutebrowser
directory. - Add
config.source('qutebrowser-matrix.py')
at the end of yourconfig.py
file.
- Clone this repo or copy
-
Let qutebrowser manage your themes.
- Insert in your
config.py
the next code:
import os from urllib.request import urlopen # load your autoconfig, use this, if the rest of your config is empty! config.load_autoconfig() if not os.path.exists(config.configdir / "theme.py"): theme = "https://raw.githubusercontent.com/iruzo/matrix-qutebrowser/main/matrix-qutebrowser.py" with urlopen(theme) as themehtml: with open(config.configdir / "theme.py", "a") as file: file.writelines(themehtml.read().decode("utf-8")) if os.path.exists(config.configdir / "theme.py"): config.source('theme.py')
- Remove your current theme from your
.qutebrowser
directory & reloadconfig.py
- Insert in your