diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-09-07 15:56:47 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-09-07 15:56:47 +0530 |
| commit | 433b6ccecf41bb4ae7fadc84cd1bbb8af163b941 (patch) | |
| tree | 903cba8373520fd99afee9979045701fbdb1fa17 /modules/firefox.home | |
| parent | 86d3b43cbc880da156b81c9f5f30396d1f7de308 (diff) | |
| download | nixos-config-433b6ccecf41bb4ae7fadc84cd1bbb8af163b941.tar.gz nixos-config-433b6ccecf41bb4ae7fadc84cd1bbb8af163b941.zip | |
Failed attempt at ddg style in qute
Diffstat (limited to 'modules/firefox.home')
| -rw-r--r-- | modules/firefox.home/chrome/globalKeybindings.uc.js | 2 | ||||
| -rw-r--r-- | modules/firefox.home/chrome/userContent.css | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/firefox.home/chrome/globalKeybindings.uc.js b/modules/firefox.home/chrome/globalKeybindings.uc.js index 4ad35da..cd6a420 100644 --- a/modules/firefox.home/chrome/globalKeybindings.uc.js +++ b/modules/firefox.home/chrome/globalKeybindings.uc.js @@ -33,6 +33,8 @@ ], }); + // Restart firefox: Services.startup.quit(Services.startup.eForceQuit | Services.startup.eRestart) + const nextTab = () => () => updateTabIndex((n, len) => (n + 1) % len); const prevTab = () => () => updateTabIndex((n, len) => n === 0 ? len - 1 : n - 1); const tabIndex = idx => () => updateTabIndex((_n, _len) => idx) diff --git a/modules/firefox.home/chrome/userContent.css b/modules/firefox.home/chrome/userContent.css index b7361e8..b20f349 100644 --- a/modules/firefox.home/chrome/userContent.css +++ b/modules/firefox.home/chrome/userContent.css @@ -45,5 +45,9 @@ .header { font-size: 1rem !important; } + + .result-sponsored { + display: none !important; + } } |
