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:
Donovan Glover 2024-06-02 12:23:06 -04:00
parent 49fda4f0ae
commit c0062d1310
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -73,6 +73,13 @@ in
sTj = "set tabs.position bottom";
sTk = "set tabs.position top";
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
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('zpl', 'spawn --userscript qute-pass --password-only')
config.bind('zol', 'spawn --userscript qute-pass --otp-only')