<commit_before># Documentation:
#   qute://help/configuring.html
#   qute://help/settings.html

# Name of the session to load by default
c.session.default_name = "default"

# Automatically save the current session
c.auto_save.session = True

# Disable <video> autoplay
c.content.autoplay = False
config.set("content.autoplay", True, "play.google.com/music/*")

# Prevent websites from asking for geolocation
c.content.geolocation = False

# Disable host blocking; this is redundant as I handle host blocking at the
# gateway level for all devices on my LAN and locally, using /etc/hosts, for
# non-static devices (e.g. laptops)
c.content.host_blocking.enabled = False

# Enable JavaScript
c.content.javascript.enabled = True
config.set("content.javascript.enabled", True, "file://*")
config.set("content.javascript.enabled", True, "chrome://*/*")
config.set("content.javascript.enabled", True, "qute://*/*")

# Set default content.notifications behavior for specific URLs
c.content.notifications = False
config.set("content.notifications", True, "calendar.google.com")
config.set("content.notifications", True, "play.google.com")
config.set("content.notifications", True, "music.youtube.com")
config.set("content.notifications", True, "messages.google.com")
config.set("content.notifications", True, "www.fastmail.com")

# Set default content.register_protocol_handler behavior for specific URLs
c.content.register_protocol_handler = False
config.set("content.register_protocol_handler", True, "calendar.google.com")
config.set("content.register_protocol_handler", True, "www.fastmail.com")

# Which interfaces to expose via WebRTC
c.content.webrtc_ip_handling_policy = "default-public-interface-only"

# Directory to save downloads
c.downloads.location.directory = "~/downloads"

# Open new tabs in the background
c.tabs.background = True

# Open new tabs at the end of the stack
c.tabs.new_position.related = "last"

# Page to open if :open -t/-b/-w is used without URL.
c.url.default_page = "about:blank"

# Set colors for private browsing mode
# Note that "private browsing mode" above refers the Qutebrowser's internal
# "private mode", and as such these settings only apply to windows opened in
# private mode (`open -p`) within a session using this configuration file.
c.colors.statusbar.command.private.bg = "#7A378B"
c.colors.statusbar.command.private.fg = "#FDF8FF"
c.colors.statusbar.private.bg = "#68228B"
c.colors.statusbar.private.fg = "#FDF8FF"

# This ensures that any changes to the default value for `url.searchengines` are
# not propagated without updating the value below, explicitly.
c.url.searchengines = {
    "DEFAULT": "https://duckduckgo.com/?q={}",
    "!a": "https://www.amazon.com/s?k={}",
    "!ao": "https://www.amazon.com/gp/your-account/order-history/ref=ppx_yo_dt_b_search?search={}",
    "!ap": "https://www.archlinux.org/packages/?q={}",
    "!aur": "https://aur.archlinux.org/packages/?K={}",
    "!aw": "https://wiki.archlinux.org/index.php?search={}",
    "!cb": "https://www.crunchbase.com/textsearch?q={}",
    "!crates": "https://crates.io/search?q={}",
    "!domain": "https://domains.google.com/registrar/search?searchTerm={}",
    "!evo": "https://www.evo.com/shop?text={}",
    "!gh": "https://github.com/search?q={}",
    "!li": "https://www.linkedin.com/search/results/all/?keywords={}",
    "!lic": "https://www.linkedin.com/search/results/people/?facetNetwork=%5B%22F%22%5D&keywords={}",
    "!lim": "https://www.linkedin.com/messaging/?searchTerm={}",
    "!lij": "https://www.linkedin.com/jobs/search/?keywords={}",
    "!music": "https://music.youtube.com/search?q={}",
    "!r": "https://www.reddit.com/search?q={}",
    "!rsw": "https://runescape.wiki/w/Special:Search?search={}",
    "!rust": "https://doc.rust-lang.org/std/?search={}",
    "!rustn": "https://doc.rust-lang.org/nightly/std/?search={}",
    "!w": "https://en.wikipedia.org/w/index.php?search={}",
    "!yt": "https://www.youtube.com/results?search_query={}",
    "!yth": "https://www.youtube.com/feed/history?query={}",
}
<commit_msg>feat(qutebrowser): add search engine for linkedin people<commit_after># Documentation:
#   qute://help/configuring.html
#   qute://help/settings.html

# Name of the session to load by default
c.session.default_name = "default"

# Automatically save the current session
c.auto_save.session = True

# Disable <video> autoplay
c.content.autoplay = False
config.set("content.autoplay", True, "play.google.com/music/*")

# Prevent websites from asking for geolocation
c.content.geolocation = False

# Disable host blocking; this is redundant as I handle host blocking at the
# gateway level for all devices on my LAN and locally, using /etc/hosts, for
# non-static devices (e.g. laptops)
c.content.host_blocking.enabled = False

# Enable JavaScript
c.content.javascript.enabled = True
config.set("content.javascript.enabled", True, "file://*")
config.set("content.javascript.enabled", True, "chrome://*/*")
config.set("content.javascript.enabled", True, "qute://*/*")

# Set default content.notifications behavior for specific URLs
c.content.notifications = False
config.set("content.notifications", True, "calendar.google.com")
config.set("content.notifications", True, "play.google.com")
config.set("content.notifications", True, "music.youtube.com")
config.set("content.notifications", True, "messages.google.com")
config.set("content.notifications", True, "www.fastmail.com")

# Set default content.register_protocol_handler behavior for specific URLs
c.content.register_protocol_handler = False
config.set("content.register_protocol_handler", True, "calendar.google.com")
config.set("content.register_protocol_handler", True, "www.fastmail.com")

# Which interfaces to expose via WebRTC
c.content.webrtc_ip_handling_policy = "default-public-interface-only"

# Directory to save downloads
c.downloads.location.directory = "~/downloads"

# Open new tabs in the background
c.tabs.background = True

# Open new tabs at the end of the stack
c.tabs.new_position.related = "last"

# Page to open if :open -t/-b/-w is used without URL.
c.url.default_page = "about:blank"

# Set colors for private browsing mode
# Note that "private browsing mode" above refers the Qutebrowser's internal
# "private mode", and as such these settings only apply to windows opened in
# private mode (`open -p`) within a session using this configuration file.
c.colors.statusbar.command.private.bg = "#7A378B"
c.colors.statusbar.command.private.fg = "#FDF8FF"
c.colors.statusbar.private.bg = "#68228B"
c.colors.statusbar.private.fg = "#FDF8FF"

# This ensures that any changes to the default value for `url.searchengines` are
# not propagated without updating the value below, explicitly.
c.url.searchengines = {
    "DEFAULT": "https://duckduckgo.com/?q={}",
    "!a": "https://www.amazon.com/s?k={}",
    "!ao": "https://www.amazon.com/gp/your-account/order-history/ref=ppx_yo_dt_b_search?search={}",
    "!ap": "https://www.archlinux.org/packages/?q={}",
    "!aur": "https://aur.archlinux.org/packages/?K={}",
    "!aw": "https://wiki.archlinux.org/index.php?search={}",
    "!cb": "https://www.crunchbase.com/textsearch?q={}",
    "!crates": "https://crates.io/search?q={}",
    "!domain": "https://domains.google.com/registrar/search?searchTerm={}",
    "!evo": "https://www.evo.com/shop?text={}",
    "!gh": "https://github.com/search?q={}",
    "!li": "https://www.linkedin.com/search/results/all/?keywords={}",
    "!lic": "https://www.linkedin.com/search/results/people/?facetNetwork=%5B%22F%22%5D&keywords={}",
    "!lim": "https://www.linkedin.com/messaging/?searchTerm={}",
    "!lip": "https://www.linkedin.com/search/results/people/?keywords={}",
    "!lij": "https://www.linkedin.com/jobs/search/?keywords={}",
    "!music": "https://music.youtube.com/search?q={}",
    "!r": "https://www.reddit.com/search?q={}",
    "!rsw": "https://runescape.wiki/w/Special:Search?search={}",
    "!rust": "https://doc.rust-lang.org/std/?search={}",
    "!rustn": "https://doc.rust-lang.org/nightly/std/?search={}",
    "!w": "https://en.wikipedia.org/w/index.php?search={}",
    "!yt": "https://www.youtube.com/results?search_query={}",
    "!yth": "https://www.youtube.com/feed/history?query={}",
}

{'fraction_non_alphanumeric': 0.18335358444714459, 'fraction_numerical': 0.004131227217496963, 'mean_word_length': 4.7680448493342675, 'pattern_counts': {'":': 47, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 47, 'lorem ipsum': 0, 'www.': 29, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1548298', 'n_tokens_mistral': 2808, 'n_tokens_neox': 2691, 'n_words': 570}