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
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./browser.nix
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
imv
|
imv
|
||||||
obs-studio
|
obs-studio
|
||||||
|
|
@ -61,35 +66,4 @@
|
||||||
|
|
||||||
programs.librewolf.enable = true;
|
programs.librewolf.enable = true;
|
||||||
|
|
||||||
programs.qutebrowser = {
|
|
||||||
enable = true;
|
|
||||||
searchEngines = {
|
|
||||||
DEFAULT = "https://search.brave.com/search?q={}";
|
|
||||||
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
|
|
||||||
aw = "https://wiki.archlinux.org/?search={}";
|
|
||||||
nw = "https://nixos.wiki/index.php?search={}";
|
|
||||||
nixpkgs = "https://search.nixos.org/packages?channel=unstable&query={}";
|
|
||||||
};
|
|
||||||
settings = {
|
|
||||||
colors = {
|
|
||||||
webpage.preferred_color_scheme = "dark";
|
|
||||||
};
|
|
||||||
tabs = {
|
|
||||||
background = false;
|
|
||||||
indicator.width = 0;
|
|
||||||
favicons.scale = 2.0;
|
|
||||||
position = "left";
|
|
||||||
show = "always";
|
|
||||||
width = 40;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
extraConfig = ''
|
|
||||||
c.tabs.padding = {
|
|
||||||
"bottom" : 10,
|
|
||||||
"left" : 5,
|
|
||||||
"right" : 5,
|
|
||||||
"top" : 10
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue