alqueva/hosts/cityseventeen/users/arturm/configs/qutebrowser/config.py
Artur Manuel ea7dd98c09
refactor: better modularise arturm/configs/qutebrowser
There are other changes too, such as some tiny refactors to make some things a
small bit more readable. For example: I added a variable in
`cityseventeen/apps.nix` to make environment variables a small bit easier to
read. It is pretty much the same case in `cityseventeen/themes.nix` except I
used map to get each attribute set with package instead of mapAttrs.

There are also some minor tweaks here and there but it isn't worth talking
about.
2025-04-14 19:01:34 +01:00

30 lines
668 B
Python

from colours.themes import load_colours, Palettes
from colours.darkmode import darkmode_on
def main():
# leave this alone!
config.load_autoconfig()
# rose-pine
load_colours(c, Palettes.rose_pine)
darkmode_on(config, ["about:blank"])
c.colors.webpage.darkmode.enabled = False
c.colors.webpage.preferred_color_scheme = "dark"
c.tabs.position = "top"
c.tabs.width = 32
c.fonts.default_size = "13pt"
c.fonts.default_family = "sans-serif"
c.tabs.padding = {
"bottom": 4,
"top": 4,
"left": 6,
"right": 6,
}
c.tabs.indicator.width = 0
c.url.start_pages = "about:blank"
main()