Added qutebrowser config.py to config
This commit is contained in:
parent
5b89f4f667
commit
7260d21508
15
dotfiles/.config/qutebrowser/config.py
Normal file
15
dotfiles/.config/qutebrowser/config.py
Normal file
@ -0,0 +1,15 @@
|
||||
import os
|
||||
from urllib.request import urlopen
|
||||
|
||||
# load your autoconfig, use this, if the rest of your config is empty!
|
||||
config.load_autoconfig()
|
||||
|
||||
# Set Dark Mode
|
||||
config.set("colors.webpage.darkmode.enabled", False)
|
||||
config.set("colors.webpage.preferred_color_scheme", "dark")
|
||||
|
||||
# Toggle Dark Mode
|
||||
config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false')
|
||||
|
||||
# Fix terminal editor
|
||||
config.set('editor.command', ['alacritty', '-e', 'nvim', '{file}'])
|
@ -24,5 +24,8 @@
|
||||
SetEnv TERM=xterm-256color
|
||||
'';
|
||||
|
||||
home.file.".config/ghostty/config".source = ../dotfiles/.config/ghostty/config;
|
||||
home.file = {
|
||||
".config/ghostty/config".source = ../dotfiles/.config/ghostty/config;
|
||||
".config/qutebrowser/config.py".source = ../dotfiles/.config/qutebrowser/config.py;
|
||||
};
|
||||
}
|
||||
|
@ -34,5 +34,6 @@
|
||||
".config/rofi/config.rasi".source = ../dotfiles/.config/rofi/config.rasi;
|
||||
".config/polybar/config.ini".source = ../dotfiles/.config/polybar/config.ini;
|
||||
".config/alacritty/alacritty.toml".source = ../dotfiles/.config/alacritty/alacritty.toml;
|
||||
".config/qutebrowser/config.py".source = ../dotfiles/.config/qutebrowser/config.py;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user