Skip to content

Commit 92ccf4b

Browse files
committed
Some firefox customisations
1 parent 8efa87b commit 92ccf4b

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

scripts/configure-system.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ TEXT_EDITOR_FONT_STYLE="${MONOSPACE_FONT_STYLE}"
127127
#[ "${SCREEN_RESOLUTION_V}" -lt 1080 ] && TEXT_EDITOR_FONT_SIZE=11
128128
TEXT_EDITOR_FONT_SIZE="${MONOSPACE_FONT_SIZE}"
129129

130+
BROWSER_FONT_SIZE=$((INTERFACE_FONT_SIZE + 7))
131+
130132
EMOJI_FONT_NAME="Apple Color Emoji"
131133

132134
INTERFACE_FONT="${INTERFACE_FONT_NAME} ${INTERFACE_FONT_STYLE} ${INTERFACE_FONT_SIZE}"
@@ -876,6 +878,7 @@ if does_bin_exist 'firefox' 'firefox-esr' 'librewolf' 'org.mozilla.firefox' 'io.
876878
set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.tabs.drawInTitlebar" true
877879
set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.uidensity" 1 # Compact mode
878880
#set_firefox_config "${FIREFOX_PROFILE_DIR}" "font.name-list.emoji" "${EMOJI_FONT_NAME}" # Makes ChatGPT ask for captcha for every prompt
881+
set_firefox_config "${FIREFOX_PROFILE_DIR}" 'font.size.variable.x-western' "${BROWSER_FONT_SIZE}"
879882
set_firefox_config "${FIREFOX_PROFILE_DIR}" "toolkit.legacyUserProfileCustomizations.stylesheets" true
880883
#set_firefox_config "${FIREFOX_PROFILE_DIR}" "widget.non-native-theme.enabled" false # If true then some page elements (e.g. drop-down arrows in Bitwarden) look very ugly and out of place
881884
set_firefox_config "${FIREFOX_PROFILE_DIR}" "widget.content.allow-gtk-dark-theme" ${DESKTOP_THEME_IS_DARK}
@@ -894,12 +897,13 @@ if does_bin_exist 'firefox' 'firefox-esr' 'librewolf' 'org.mozilla.firefox' 'io.
894897
set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.underline_anchors" false
895898

896899
# Useless features
897-
#set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.newtabpage.activity-stream.feeds.section.highlights" false
898-
#set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.newtabpage.activity-stream.feeds.snippets" false
899-
set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.newtabpage.activity-stream.feeds.topsites" false
900-
set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.newtabpage.activity-stream.feeds.section.topstories" false
901-
set_firefox_config "${FIREFOX_PROFILE_DIR}" "extensions.pocket.enabled" false
902-
set_firefox_config "${FIREFOX_PROFILE_DIR}" "extensions.screenshots.disabled" true
900+
#set_firefox_config "${FIREFOX_PROFILE_DIR}" 'browser.newtabpage.activity-stream.feeds.section.highlights' false
901+
#set_firefox_config "${FIREFOX_PROFILE_DIR}" 'browser.newtabpage.activity-stream.feeds.snippets' false
902+
set_firefox_config "${FIREFOX_PROFILE_DIR}" 'browser.newtabpage.activity-stream.feeds.topsites' false
903+
set_firefox_config "${FIREFOX_PROFILE_DIR}" 'browser.newtabpage.activity-stream.feeds.section.topstories' false
904+
set_firefox_config "${FIREFOX_PROFILE_DIR}" 'browser.tabs.groups.enabled' false
905+
set_firefox_config "${FIREFOX_PROFILE_DIR}" 'extensions.pocket.enabled' false
906+
set_firefox_config "${FIREFOX_PROFILE_DIR}" 'extensions.screenshots.disabled' true
903907

904908
# URL bar
905909
set_firefox_config "${FIREFOX_PROFILE_DIR}" "browser.urlbar.groupLabels.enabled" false

0 commit comments

Comments
 (0)