qutebrowser config
This commit is contained in:
parent
35fa5b6bda
commit
f646997d09
2 changed files with 48 additions and 31 deletions
43
home/programs/browser.nix
Normal file
43
home/programs/browser.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
programs.qutebrowser = {
|
||||
enable = true;
|
||||
searchEngines = {
|
||||
DEFAULT = "https://search.brave.com/search?q={}";
|
||||
w = "https://en.wikipedia.org/index.php?search={}";
|
||||
aw = "https://wiki.archlinux.org/?search={}";
|
||||
nw = "https://nixos.wiki/index.php?search={}";
|
||||
yt = "https://yewtu.be/results?search_query={}";
|
||||
nixpkgs = "https://search.nixos.org/packages?channel=unstable&query={}";
|
||||
nixos = "https://search.nixos.org/options?channel=unstable&query={}";
|
||||
home = "https://mipmip.github.io/home-manager-option-search/?query={}";
|
||||
};
|
||||
settings = {
|
||||
colors = {
|
||||
webpage.preferred_color_scheme = "dark";
|
||||
};
|
||||
tabs = {
|
||||
background = false;
|
||||
indicator.width = 0;
|
||||
favicons.scale = 2.0;
|
||||
position = "left";
|
||||
show = "switching";
|
||||
};
|
||||
};
|
||||
keyBindings = {
|
||||
normal = {
|
||||
"gvy" = "spawn mpv {url}";
|
||||
"gvf" = "hint links spawn mpv {url}";
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
c.tabs.padding = {
|
||||
"bottom" : 10,
|
||||
"left" : 5,
|
||||
"right" : 5,
|
||||
"top" : 10
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue