Skip to content

iruzo/matrix-qutebrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  • Manual config

    • Clone this repo or copy matrix-qutebrowser.py or matrix-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 your config.py file.
  • 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 & reload config.py

Releases

No releases published

Packages

No packages published

Languages