commit 88fa5f26e23a419515ba7b1602f2e84b1e4b39c8
parent 79212556eb74d40cbffd90a2ce38e5a892b76bb0
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date: Mon, 3 Feb 2020 15:47:11 -0800
tabs now on the right
Diffstat:
3 files changed, 9 insertions(+), 63 deletions(-)
diff --git a/qutebrowser/.config/qutebrowser/autoconfig.yml b/qutebrowser/.config/qutebrowser/autoconfig.yml
@@ -6,50 +6,13 @@
config_version: 2
settings:
- bindings.commands:
- global:
- normal:
- <Ctrl+j>: scroll-px 0 40
- <Ctrl+k>: scroll-px 0 -40
- <F11>: nop
- Z: zoom-out
- b: spawn -u bookmarks --open
- ctrl+j: scroll-px 0 40
- h: tab-prev
- l: tab-next
- m: spawn -u bookmarks --edit
- z: zoom-in
- colors.statusbar.progress.bg:
- global: green
- colors.tabs.bar.bg:
- global: '#000005'
- colors.tabs.odd.bg:
- global: '#000000'
- colors.webpage.bg:
- global: '#222'
- tabs.indicator.padding:
- global:
- bottom: 0
- left: 0
- right: 0
- top: 1
- tabs.indicator.width:
- global: 2
tabs.max_width:
- global: 1
+ global: -1
tabs.padding:
global:
- bottom: 2
- left: 0
- right: 0
- top: 2
+ bottom: 0
+ left: 5
+ right: 5
+ top: 0
tabs.position:
- global: left
- tabs.show:
- global: always
- tabs.title.format:
- global: '{index} {current_title}'
- tabs.tooltips:
- global: false
- tabs.width:
- global: 18%
+ global: right
diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py
@@ -223,7 +223,7 @@ c.tabs.favicons.show = 'pinned'
# Padding (in pixels) around text for tabs.
# Type: Padding
-c.tabs.padding = {'bottom': 2, 'left': 0, 'right': 0, 'top': 2}
+c.tabs.padding = {'bottom': 0, 'left': 5, 'right': 5, 'top': 0}
# When switching tabs, what input mode is applied.
# Type: String
@@ -240,7 +240,7 @@ c.tabs.mode_on_change = 'restore'
# - bottom
# - left
# - right
-c.tabs.position = 'left'
+c.tabs.position = 'right'
# When to show the tab bar.
# Type: String
@@ -284,7 +284,7 @@ c.tabs.width = '18%'
# not apply properly if max_width is smaller than the minimum size of
# tab contents, or smaller than tabs.min_width.
# Type: Int
-c.tabs.max_width = 1
+c.tabs.max_width = -1
# Width (in pixels) of the progress indicator (0 to disable).
# Type: Int
@@ -431,7 +431,5 @@ config.bind('<F11>', 'nop')
config.bind('Z', 'zoom-out')
config.bind('b', 'spawn -u bookmarks --open')
config.bind('ctrl+j', 'scroll-px 0 40')
-config.bind('h', 'tab-prev')
-config.bind('l', 'tab-next')
config.bind('m', 'spawn -u bookmarks --edit')
config.bind('z', 'zoom-in')
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/bookmarks b/qutebrowser/.local/share/qutebrowser/userscripts/bookmarks
@@ -1,15 +0,0 @@
-#!/bin/dash
-# Jacob Edwards, 2020
-# crappy but works (unless you have two entries with same name)
-
-config="$XDG_CONFIG_HOME/bookmarks/bookmarks"
-
-if [ "$1" = '--open' ]; then
- link="$( cut -d ' ' -f 2-10 "$config" | dmenu -p 'open' )"
- if [ -z "$link" ]; then
- exit 0
- fi
- xdg-open "$( grep "^.* $link" $config | awk '{print $1}' )"
-elif [ "$1" = '--edit' ]; then
- "$TERMINAL" -e "$EDITOR" "$config"
-fi