From b2144c0b4b255893fb78ab00092363d07ac744cf Mon Sep 17 00:00:00 2001 From: berserk2046 Date: Wed, 1 Feb 2023 22:31:45 -0500 Subject: [PATCH] init --- qutebrowser/config.py | 30 ++++++++++++++++++++++++++++++ scripts/battery | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 qutebrowser/config.py create mode 100755 scripts/battery diff --git a/qutebrowser/config.py b/qutebrowser/config.py new file mode 100644 index 0000000..baf5ab3 --- /dev/null +++ b/qutebrowser/config.py @@ -0,0 +1,30 @@ +config.load_autoconfig(False) + +c.content.blocking.adblock.lists = [ + "https://easylist.to/easylist/easylist.txt", + "https://easylist.to/easylist/easyprivacy.txt" + ] +c.content.blocking.enabled = True +c.content.blocking.method = "both" +c.content.cache.appcache = False +c.content.canvas_reading = False +c.content.cookies.accept = "never" +c.content.cookies.store = False +c.content.default_encoding = "UTF-8" +c.content.desktop_capture = False +c.content.geolocation = False +c.content.headers.do_not_track = True +c.content.javascript.enabled = False +c.content.local_storage = False +c.content.media.audio_capture = False +c.content.media.video_capture = False +c.content.media.audio_video_capture = False +c.content.mouse_lock = False +c.content.notifications.enabled = False +c.content.persistent_storage = False +c.content.private_browsing = True +c.content.webgl = False +c.url.start_pages = "https://lx.vern.cc/" +c.url.searchengines = { + "DEFAULT":"https://lx.vern.cc/search.php?q={}" + } diff --git a/scripts/battery b/scripts/battery new file mode 100755 index 0000000..30cf6d0 --- /dev/null +++ b/scripts/battery @@ -0,0 +1,2 @@ +#!/bin/bash +cat /sys/class/power_supply/BAT1/capacity