qutebrowser: Source colorscheme file from xdg state dir
This commit is contained in:
parent
22341e7988
commit
ec20d637c0
1 changed files with 4 additions and 1 deletions
|
@ -72,4 +72,7 @@ c.hints.selectors["code"] = [
|
|||
]
|
||||
|
||||
# give the browser nice theme colors
|
||||
config.source("colorscheme.py")
|
||||
state_dir=os.environ.get('XDG_STATE_HOME', f"{os.environ['HOME']}/.local/state")
|
||||
colorscheme=f"{state_dir}/qutebrowser/colorscheme.py"
|
||||
if os.path.isfile(colorscheme):
|
||||
config.source(colorscheme)
|
||||
|
|
Loading…
Reference in a new issue