diff --git a/modules/home-manager/web/firefox/default.nix b/modules/home-manager/web/firefox/default.nix index 4f35b13..da64118 100644 --- a/modules/home-manager/web/firefox/default.nix +++ b/modules/home-manager/web/firefox/default.nix @@ -64,6 +64,30 @@ in }; }; }; + + xdg.configFile."tridactyl/tridactylrc".text = '' + sanitize tridactyllocal tridactylsync + " Define custom theme + set customthemes.custom #completions table, #tridactyl-input {font-size: .9rem!important;}; + set theme custom + " Smooth scrolling + set smoothscroll true + " Ctrl-F should use the browser's native 'find' functionality. + unbind + " But also support Tridactyl search too. + bind / fillcmdline find + bind ? fillcmdline find -? + bind n findnext 1 + bind N findnext -1 + " K and J should move between tabs. + bind J tabprev + bind K tabnext + " Binds for force reader mode + bind gfr reader + bind gfR reader --tab + set editorcmd foot -T "Edit text from Firefox" nvim %f + ''; + programs.firefox = let allExtensions = cfg.baseExtensions ++ cfg.optionalExtensions; in {