qutebrowser: enable toggling dark mode during runtime
This commit is contained in:
parent
62bd9e6676
commit
72e4a8f932
|
@ -162,7 +162,7 @@ in
|
||||||
bg = color.bg;
|
bg = color.bg;
|
||||||
preferred_color_scheme = "dark";
|
preferred_color_scheme = "dark";
|
||||||
darkmode = {
|
darkmode = {
|
||||||
enabled = true;
|
enabled = false;
|
||||||
threshold = {
|
threshold = {
|
||||||
text = 150;
|
text = 150;
|
||||||
background = 205;
|
background = 205;
|
||||||
|
|
|
@ -42,6 +42,8 @@ in
|
||||||
"<Ctrl-${lib.toLower key.tabR}>" = "tree-tab-demote";
|
"<Ctrl-${lib.toLower key.tabR}>" = "tree-tab-demote";
|
||||||
|
|
||||||
"co" = "tab-only --pinned keep";
|
"co" = "tab-only --pinned keep";
|
||||||
|
|
||||||
|
"K" = "jseval --world main if (DarkReader.isEnabled()) {DarkReader.disable()} else {DarkReader.enable()}";
|
||||||
};
|
};
|
||||||
insert = {
|
insert = {
|
||||||
# quit insert mode
|
# quit insert mode
|
||||||
|
|
Loading…
Reference in a new issue