Giter Club home page Giter Club logo

base16-qutebrowser's Introduction

base16-qutebrowser

This repository is meant to work with base16. It provides a simple template that can be used with the base16 color schemes to generate a functional config file for qutebrowser, a keyboard-focused browser with a minimal GUI.

Usage

GNU/Linux

To use base16-qutebrowser, you can copy one of the config files in themes/ to ~/.config/qutebrowser/config.py or use curl (e.g for theme default/base16-manager-gruvbox-dark.config.py):

mkdir -p ~/.config/qutebrowser
curl https://raw.githubusercontent.com/theova/base16-qutebrowser/master/themes/default/base16-default-dark.config.py >> ~/.config/qutebrowser/config.py

Mac OS X

To use base16-qutebrowser, you can copy one of the config files in themes/ to ~/.qutebrowser/config.py or use curl (e.g for theme default/base16-manager-gruvbox-dark.config.py):

mkdir -p ~/.qutebrowser
curl https://raw.githubusercontent.com/theova/base16-qutebrowser/master/themes/default/base16-default-dark.config.py >> ~/.qutebrowser/config.py

Windows

To use base16-qutebrowser, you can copy one of the config files in themes/ to %APPDATA%//qutebrowser/config.py.

Releases

Releases are here. The versioning is based on v{minimal qutebrowser-version}-{base16-qutebrowser release}. For example, v1.7.0-1 requires at least version 1.7.0 of qutebrowser.

The latest release is here.

Contributing

See CONTRIBUTING.md, which contains building and contributing instructions.

Screenshots

You can find more screenshots in the wiki.

gruvbox-dark-hard

gruvbox-dark-hard

gruvbox-light-hard

gruvbox-light-hard

solarized-dark

solarized-dark

solarized-light

solarized-light

base16-qutebrowser's People

Contributors

dgmulf avatar jamygolden avatar knezi avatar theova avatar tinted-theming-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

base16-qutebrowser's Issues

Background color for selected items

Hi,

For selected items in this repo, Base0A is used. I've checked the doc again and it says Base02 is for selection and this if I get it right applies to our case well.

I'm talking about completion.items.selected, contextmenu.selected, tabs.selected, tabs.pinned.selected.

What do you think?

Unhandled Exception: 'NoneType' object has no attribute 'fg'

Received this error trying to copy paste a theme into my qutebrowser script, any ideas why I'm having trouble?

While getting 'colors.completion.item.selected.match': No option 'colors.completion.item.selected.match'
Unhandled exception: 'NoneType' object has no attribute 'fg'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qutebrowser/config/configfiles.py", line 418, in read_config_py
exec(code, module.dict)
File "/home/user/.config/qutebrowser/config.py", line 59, in
c.colors.completion.item.selected.match.fg = base05
AttributeError: 'NoneType' object has no attribute 'fg'

Thank you so much, just started using qutebrowser and was very happy to be able to come across this repo :-)

config location

Hello, Thanks very much for your efforts, amazing plugin ๐Ÿ‘

I'm a mac user and I have this error evey time I set theme

cp: /Users/---/.config/qutebrowser/config.py: No such file or directory
sed: 1: "/tmp/base16_manager_con ...": undefined label 'ase16_manager_config.py'
sed: 1: "/tmp/base16_manager_con ...": undefined label 'ase16_manager_config.py'
cp: /Users/---/.config/qutebrowser/config.py: No such file or directory
cp: /Users/---/.config/qutebrowser/config.py: No such file or directory

Also I've notice that it looking in the wrong place for config.py -- maybe that just for mac
the config.py is in

~/.qutebrowser/config.py

please advice

regards

Colours for odd and even lines?

Hi,

I was just wondering why you chose to alternate base03 and base00 for suggestions, tabs... These two are quite different and it's not very comfortable to work with them.

Also, If I get it right, according to Styling Guidelines (http://chriskempson.com/projects/base16/) default BG is base00 and lighter BG is base01. Base03 is IMO for different things.

Am I missing something?

Use a GitHub Actions workflow to automate updating colorschemes from upstream

I added this to my repository:

https://github.com/fnune/base16-fzf/blob/master/.github/workflows/update.yml

It updates it automatically every week with changes from upstream.

name: Update the repository with the latest base16 colorschemes
on:
  schedule:
    - cron: "0 0 * * 0" # https://crontab.guru/every-week
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8
      - name: Upgrade pip
        run: python -m pip install --upgrade pip
      - name: Install pybase16
        run: pip install pybase16-builder
      - name: Fetch the repository code
        uses: actions/checkout@v2
      - name: Run make
        run: make
      - name: Commit the changes, if any
        uses: stefanzweifel/[email protected]
        with:
          commit_message: Update repository with the latest base16 colorschemes
          branch: ${{ github.head_ref }}

Made this issue because I noticed your project uses pybase16-builder and has a Makefile too. Just a suggestion :)

base16-project organization

Hi @theova, there is a group of us working on reviving the base16 project and I'm wondering if you'd be willing to join.

The discussion about a base16 Github organization initially started in 2016: https://github.com/chriskempson/base16/issues/74. With the disappearance of Chris Kempson, the importance of the base16 organization is more vital than ever to keep the project structured and thriving. Currently there is a deprecation notice on the old base16 repo.

Seeing as you've created this repo, we're looking for more colaborators and I was wondering if you are you interested in joining github.com/base16-project and helping us maintain some of the projects?

Right now, communication around this is happening at tinted-theming/home#1 (Some of us are also on #base16 on Libera Chat [IRC] for more general discussions and hangouts)

Are you interested in maintaining any base16-project repositories and being part of the organization?

Easiest way to use/switch between themes?

Hi, and thanks for these themes. I was wondering, what is the easiest way to use a theme, and to switch between themes? Obviously, I can copy-paste the contents of a theme directly into my config.py, but that makes it harder to switch themes on the fly.

I tried to import one of the themes, but (i) this required me to do some fancy stuff to deal with the base16 filenames (which contain hyphens), and (ii) even once I successfully imported a theme, I got a NameError / handle exception: c is undefined.

Am I missing something obvious?

My ideal workflow would be to have a few lines like:

import base16_gruvbox_dark_medium
# import base16_gruvbox_light_medium
# ...

where I could easily uncomment the theme I want to use, and comment out the rest.

Thanks.

themes not found

I followed the recommendation of the README and installed base16-manager.

I tried base16-manager set gruvbox-light-soft and it didn't work. Tried a bunch of other themes and always get the same output:

ฮป base16-manager set-random
ERROR: theova/base16-qutebrowser: theme gruvbox-light-soft not found.
Set theme to gruvbox-light-soft. You may need to restart DE and terminals.

Restarted iTerm but it didn't change anything. Any idea of what's going on? On macOS 10.15.1 Catalina

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.