From 21dada59c2510cc7b040ff812108dff4fd04a06e Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 27 Jan 2023 16:27:22 +0100 Subject: move smooth scrolling to environment --- README.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a4368e7..28b0481 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,21 @@ this browser is written in c++. ## Keybindings -- k : scroll up -- j : scroll down -- o : open url +- k : scroll up +- j : scroll down +- o : open url -## TODO +## How to enable darkmode -- Execute Shell Commands -- add config-header-file +Put this line into your `profile`: +```sh +export QTWEBENGINE_CHROMIUM_FLAGS='--force-dark-mode' + +``` + +## How to enable smooth scrolling +Put this line into your `profile`: +```sh +export QTWEBENGINE_CHROMIUM_FLAGS='--enable-smooth-scrolling' + +``` -- cgit v1.2.3-70-g09d2