Added qutebrowser config.py to config
This commit is contained in:
parent
5b89f4f667
commit
98e47678b3
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}'])
|
@ -42,4 +42,9 @@
|
|||||||
package = pkgs.materia-theme;
|
package = pkgs.materia-theme;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".config/qutebrowser/config.py".source = ../../dotfiles/.config/qutebrowser/config.py;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user