aboutsummaryrefslogtreecommitdiff
path: root/config/qutebrowser
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/qutebrowser/.gitignore1
-rw-r--r--config/qutebrowser/config.py18
-rw-r--r--config/qutebrowser/quickmarks4
-rw-r--r--config/qutebrowser/security.py3
-rw-r--r--config/qutebrowser/ui.py2
5 files changed, 16 insertions, 12 deletions
diff --git a/config/qutebrowser/.gitignore b/config/qutebrowser/.gitignore
index 3add446..a3555f0 100644
--- a/config/qutebrowser/.gitignore
+++ b/config/qutebrowser/.gitignore
@@ -1,2 +1,3 @@
qsettings/
autoconfig.yml
+quickmarks
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index bb424a7..8fe4e10 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -159,8 +159,10 @@ nmap(localleader + 'td', ':toggle-darkmode')
# c.aliases['load'] = 'session-load -t';
# Sessions
-nmap(leader + 'sl', ':set-cmd-text :session-load ');
-nmap(leader + 'sw', ':set-cmd-text :session-save ');
+# nmap(leader + 'sl', ':set-cmd-text :session-load ');
+# nmap(leader + 'sw', ':set-cmd-text :session-save ');
+nmap(leader + 'sl', ':cmd-set-text :session-load ');
+nmap(leader + 'sw', ':cmd-set-text :session-save --no-history');
# }}}
#### Navigation {{{
@@ -192,8 +194,10 @@ c.tabs.new_position.unrelated = 'next'
c.tabs.last_close = 'close' # 'close' for closing window on last d
# Keybindings
-nmap('o', 'set-cmd-text -s :open --tab')
-nmap('O', 'set-cmd-text -s :open')
+# nmap('o', 'set-cmd-text -s :open --tab')
+# nmap('O', 'set-cmd-text -s :open')
+nmap('o', 'cmd-set-text -s :open --tab')
+nmap('O', 'cmd-set-text -s :open')
# Tab
nmap('d', 'tab-close')
@@ -211,6 +215,7 @@ nmap('<Ctrl-j>', 'tab-next')
nmap('<Ctrl-Shift-k>', 'tab-move -')
nmap('<Ctrl-Shift-j>', 'tab-move +')
nmap('b', 'set-cmd-text --space :buffer') # List buffers by index
+# nmap('b', 'cmd-set-text --space :buffer') # List buffers by index
for i in range(1, 10 + 1):
key = 0 if i == 10 else i
@@ -262,6 +267,7 @@ config.set('content.notifications.enabled', True, '*://chat.google.com')
# Google meet
config.set('content.notifications.enabled', False, '*://meet.google.com')
+config.set('content.notifications.enabled', False, '*://*.basecamp.com')
config.set('content.media.audio_video_capture', True, '*://meet.google.com')
config.set('content.media.audio_capture', True, '*://meet.google.com')
config.set('content.media.video_capture', True, '*://meet.google.com')
@@ -331,8 +337,8 @@ nmap(leader + 'tj', 'format-json')
# }}}
#### History {{{
-nmap('<Shift-h>', 'back')
-nmap('<Shift-l>', 'forward')
+nmap('<Shift-h>', 'back --quiet')
+nmap('<Shift-l>', 'forward --quiet')
nmap(leader + 'hh', 'history --tab')
# }}}
diff --git a/config/qutebrowser/quickmarks b/config/qutebrowser/quickmarks
deleted file mode 100644
index a5c1b35..0000000
--- a/config/qutebrowser/quickmarks
+++ /dev/null
@@ -1,4 +0,0 @@
-Whatsapp https://web.whatsapp.com/
-Gmail:personal https://mail.google.com/mail/u/0
-Gmail:colabra https://mail.google.com/mail/u/1
-Twitch:dashboard https://dashboard.twitch.tv/u/ediblemonad/stream-manager
diff --git a/config/qutebrowser/security.py b/config/qutebrowser/security.py
index 287442b..930368a 100644
--- a/config/qutebrowser/security.py
+++ b/config/qutebrowser/security.py
@@ -44,7 +44,8 @@ c.content.media.video_capture = 'ask'
c.content.tls.certificate_errors = 'ask'
c.content.desktop_capture = 'ask'
c.content.mouse_lock = 'ask'
-c.content.javascript.can_access_clipboard = True
+# c.content.javascript.can_access_clipboard = True
+c.content.javascript.clipboard = 'access'
c.content.canvas_reading = True
# c.content.fullscreen.window = True # Fullscreen fixed to window size
diff --git a/config/qutebrowser/ui.py b/config/qutebrowser/ui.py
index aa16249..f1479f3 100644
--- a/config/qutebrowser/ui.py
+++ b/config/qutebrowser/ui.py
@@ -19,7 +19,7 @@ c.fonts.default_family = 'JetBrainsMono Nerd Font'
c.fonts.default_size = '12px'
c.colors.webpage.preferred_color_scheme = 'dark'
-c.colors.webpage.darkmode.enabled = True
+c.colors.webpage.darkmode.enabled = False
c.colors.webpage.darkmode.algorithm = "lightness-cielab"
c.colors.webpage.darkmode.threshold.text = 150
c.colors.webpage.darkmode.threshold.background = 100