modules/home/common/desktop: configure qutebrowser
This commit is contained in:
parent
f8a5f0dc9e
commit
1d74a1c0e4
1 changed files with 31 additions and 0 deletions
|
@ -35,6 +35,37 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package =
|
package =
|
||||||
if pkgs.stdenv.isDarwin then inputs'.niko-nur.packages.qutebrowser-bin else pkgs.qutebrowser;
|
if pkgs.stdenv.isDarwin then inputs'.niko-nur.packages.qutebrowser-bin else pkgs.qutebrowser;
|
||||||
|
searchEngines = {
|
||||||
|
r = "https://doc.rust-lang.org/stable/std/?search={}";
|
||||||
|
lib = "https://lib.rs/search?q={}";
|
||||||
|
nip = "https://jisho.org/search/{}";
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
tabs = {
|
||||||
|
indicator.width = 3;
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts = {
|
||||||
|
default_family = "Iosevka";
|
||||||
|
default_size = "13px";
|
||||||
|
};
|
||||||
|
|
||||||
|
content = {
|
||||||
|
canvas_reading = true;
|
||||||
|
blocking.method = "both";
|
||||||
|
javascript.clipboard = "access";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# Workaround because the nix module doesn't properly handle options that expect a dict
|
||||||
|
extraConfig = ''
|
||||||
|
c.tabs.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 }
|
||||||
|
c.statusbar.padding = { 'top': 5, 'bottom': 5, 'right': 10, 'left': 10 }
|
||||||
|
'';
|
||||||
|
keyBindings = {
|
||||||
|
passthrough = {
|
||||||
|
"<Ctrl-Escape>" = "mode-leave";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zellij = {
|
programs.zellij = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue