aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode/reload.d/brave
blob: 62fb08c2101e27eb1832db7d0815e8e9aea7bd69 (plain)
1
2
3
4
5
6
7
8
9
10
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?)