mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-10 20:38:26 +01:00
qutebrowser: Prefer declaring unbinds with null in nix
This is possible since the home manager module handles the null case.
See: 9b53a10f4c/modules/programs/qutebrowser.nix (L29-L36)
This commit is contained in:
parent
49fda4f0ae
commit
c0062d1310
@ -73,6 +73,13 @@ in
|
|||||||
sTj = "set tabs.position bottom";
|
sTj = "set tabs.position bottom";
|
||||||
sTk = "set tabs.position top";
|
sTk = "set tabs.position top";
|
||||||
sTl = "set tabs.position right";
|
sTl = "set tabs.position right";
|
||||||
|
|
||||||
|
pp = null;
|
||||||
|
pP = null;
|
||||||
|
Pp = null;
|
||||||
|
PP = null;
|
||||||
|
wp = null;
|
||||||
|
wP = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -89,13 +96,6 @@ in
|
|||||||
|
|
||||||
c.colors.webpage.darkmode.enabled = False
|
c.colors.webpage.darkmode.enabled = False
|
||||||
|
|
||||||
config.unbind('pp', mode='normal')
|
|
||||||
config.unbind('pP', mode='normal')
|
|
||||||
config.unbind('Pp', mode='normal')
|
|
||||||
config.unbind('PP', mode='normal')
|
|
||||||
config.unbind('wp', mode='normal')
|
|
||||||
config.unbind('wP', mode='normal')
|
|
||||||
|
|
||||||
config.bind('zl', 'spawn --userscript qute-pass')
|
config.bind('zl', 'spawn --userscript qute-pass')
|
||||||
config.bind('zpl', 'spawn --userscript qute-pass --password-only')
|
config.bind('zpl', 'spawn --userscript qute-pass --password-only')
|
||||||
config.bind('zol', 'spawn --userscript qute-pass --otp-only')
|
config.bind('zol', 'spawn --userscript qute-pass --otp-only')
|
||||||
|
Loading…
Reference in New Issue
Block a user