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