aboutsummaryrefslogtreecommitdiff
path: root/config/qutebrowser
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-11-22 00:43:12 +0530
committerAkshay Nair <phenax5@gmail.com>2025-11-22 00:45:48 +0530
commitb8e909d68bcb035648dda93f15de7863f444a3c4 (patch)
tree3e6c13b1424d5005b595ea1d86f1b50a49b42390 /config/qutebrowser
parent7cca3043fa585dc0d0cef6a3f25756c946bee1aa (diff)
downloadnixos-config-b8e909d68bcb035648dda93f15de7863f444a3c4.tar.gz
nixos-config-b8e909d68bcb035648dda93f15de7863f444a3c4.zip
Switch to kakoune + daffm
Diffstat (limited to 'config/qutebrowser')
-rw-r--r--config/qutebrowser/config.py5
-rw-r--r--config/qutebrowser/security.py4
-rwxr-xr-xconfig/qutebrowser/userscripts/bookmark3
3 files changed, 6 insertions, 6 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 0a560b7..8dd14dd 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -93,7 +93,7 @@ c.input.insert_mode.auto_load = True
c.input.insert_mode.leave_on_load = True
# File selector
-lf_file_picker = ['sensible-terminal', '-c', 'lf-selector', '-g', '170x40+50+50', '-e', 'lf', '-selection-path', '{}']
+lf_file_picker = ['st', '-i', '-g', '170x40+50+50', '-e', 'sh', '-c', 'DAFFM_SELECTIONS_OUT={} daffm -c @picker']
c.fileselect.handler = 'external'
c.fileselect.single_file.command = lf_file_picker
c.fileselect.multiple_files.command = lf_file_picker
@@ -301,7 +301,8 @@ c.url.searchengines = {
'd': 'https://lite.duckduckgo.com/lite?q={}',
'gg': 'https://lite.duckduckgo.com/lite?q={}',
'go': 'https://google.com/search?q={}',
- 'ai': 'https://chatgpt.com/?temporary-chat=true&q={}',
+ 'ai': 'http://localhost:9081/?q={}',
+ 'aio': 'https://chatgpt.com/?temporary-chat=true&q={}',
'aic': 'https://claude.ai/new?q={}',
'br': 'https://search.brave.com/search?q={}',
diff --git a/config/qutebrowser/security.py b/config/qutebrowser/security.py
index 8dbd1a0..54aa159 100644
--- a/config/qutebrowser/security.py
+++ b/config/qutebrowser/security.py
@@ -21,9 +21,9 @@ def random_version(a, b):
return rand_numstr(a, b) + '.' + rand_numstr(0, 100)
def random_useragent():
- chrome_version = random_version(135, 150)
+ chrome_version = random_version(140, 150)
# firefox_version = random_version(77, 80)
- build_version = random_version(1000, 3000)
+ build_version = random_version(1000, 5000)
agents = [
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML; like Gecko) Chromium/' + chrome_version + '.0.4044.138 Chrome/' + chrome_version + '.' + build_version + ' Safari/{webkit_version}',
diff --git a/config/qutebrowser/userscripts/bookmark b/config/qutebrowser/userscripts/bookmark
index 480aed9..dd0752d 100755
--- a/config/qutebrowser/userscripts/bookmark
+++ b/config/qutebrowser/userscripts/bookmark
@@ -13,8 +13,7 @@ case "$1" in
echo "$QUTE_URL" >> "$BOOKMARKS_PATH"
;;
resource)
- ~/dev/projects/nvim-ts-peek/bin/nvim-peek dmenu "$QUTE_URL" "$QUTE_TITLE" \
- && notify-send "Saved $QUTE_URL";
+ ~/.config/kak/scripts/logger.sh link "$QUTE_URL";
;;
esac || true