qutebrowser: install tree style tabs patch
This commit is contained in:
parent
dd00ce096a
commit
5f92f94eba
|
@ -64,6 +64,15 @@
|
||||||
steam = prev.steam.override {
|
steam = prev.steam.override {
|
||||||
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors ];
|
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
qutebrowser = prev.qutebrowser.overrideAttrs (old: {
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "pinusc";
|
||||||
|
repo = "qutebrowser";
|
||||||
|
rev = "feature/tree-tabs";
|
||||||
|
sha256 = "sha256-kHxZ3AzbfPJ3im1kQNn8DDlKBn+yPI4SLbSZuBQrUWY=";
|
||||||
|
};
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
variables = (final: prev: {
|
variables = (final: prev: {
|
||||||
|
|
10282
patches/qutebrowser/tree-style-tabs.patch
Normal file
10282
patches/qutebrowser/tree-style-tabs.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -37,6 +37,9 @@ in
|
||||||
"h" = "set-cmd-text -s :open";
|
"h" = "set-cmd-text -s :open";
|
||||||
"T" = "hint all tab";
|
"T" = "hint all tab";
|
||||||
"H" = "set-cmd-text -s :open -t";
|
"H" = "set-cmd-text -s :open -t";
|
||||||
|
|
||||||
|
"<Ctrl-${lib.toLower key.tabL}>" = "tree-tab-promote";
|
||||||
|
"<Ctrl-${lib.toLower key.tabR}>" = "tree-tab-demote";
|
||||||
};
|
};
|
||||||
insert = {
|
insert = {
|
||||||
# quit insert mode
|
# quit insert mode
|
||||||
|
@ -54,6 +57,8 @@ in
|
||||||
|
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
tabs.tree_tabs = true;
|
||||||
|
tabs.position = "right";
|
||||||
session.lazy_restore = true;
|
session.lazy_restore = true;
|
||||||
auto_save.session = true;
|
auto_save.session = true;
|
||||||
hints.chars = key.hints;
|
hints.chars = key.hints;
|
||||||
|
|
|
@ -28,8 +28,8 @@ in
|
||||||
warning = BIG_INTER;
|
warning = BIG_INTER;
|
||||||
};
|
};
|
||||||
tabs = {
|
tabs = {
|
||||||
selected = DEF_INTER;
|
selected = BIG_INTER;
|
||||||
unselected = DEF_INTER;
|
unselected = BIG_INTER;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue