diff options
Diffstat (limited to '.local/share/mode/reload.d/brave')
-rw-r--r-- | .local/share/mode/reload.d/brave | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.local/share/mode/reload.d/brave b/.local/share/mode/reload.d/brave new file mode 100644 index 0000000..62fb08c --- /dev/null +++ b/.local/share/mode/reload.d/brave @@ -0,0 +1,11 @@ +#!/bin/sh + + +# - navigate to brave://settings +# - run `chrome.send("setBraveThemeType", [THEME_ENUM])` in js console +# values 1: dark +# 2: light +# - navigate to brave://extensions +# - run `chrome.send("setBraveThemeType", [THEME_ENUM])` in js console +# - run `chrome.developerPrivate.loadUnpacked()` (TODO: how to handle inputting file path non-interactively) +# TODO: how to use chromedriver from script (preferably without nodejs+npm or python3+pip dependencies?) |