summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-05-23 09:48:02 +0100
committerUrbain Vaes <urbain@vaes.uk>2017-05-23 09:48:02 +0100
commit6575e05ef82bfb4ed7c4805643e1eaad61624da4 (patch)
tree12ecb6054716b6c6d7d54412f6bbbcb5ad0f9059
parentbf681b02022b8bee8c122d0d3de2f1d4a3d0a174 (diff)
Update
-rw-r--r--Xresources/.Xresources/base2
-rw-r--r--bash/.bashrc4
-rw-r--r--git/.gitconfig4
-rw-r--r--qutebrowser/.config/qutebrowser/keys.conf8
-rw-r--r--qutebrowser/.config/qutebrowser/qutebrowser.conf50
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/dictionary-search3
-rw-r--r--zsh/.zshrc3
7 files changed, 40 insertions, 34 deletions
diff --git a/Xresources/.Xresources/base b/Xresources/.Xresources/base
index 63c0924..71bd329 100644
--- a/Xresources/.Xresources/base
+++ b/Xresources/.Xresources/base
@@ -27,6 +27,6 @@ URxvt.resize-font.bigger: C-plus
! Appearance
/* URxvt*font: xft:DejaVu Sans Mono:size=12 */
-URxvt*font: xft:monaco:size=11
+URxvt*font: xft:monaco:size=11.5
URxvt*scrollBar: false
URxvt*internalBorder: 0
diff --git a/bash/.bashrc b/bash/.bashrc
index e5d6fc1..76d8d48 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,3 +1,5 @@
+# Prompt
+PS1='\w $ '
-
+# FZF
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
diff --git a/git/.gitconfig b/git/.gitconfig
index cc84101..15a64c3 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -10,6 +10,4 @@
[status]
submodulesummary = 1
[alias]
- sdiff = !git diff && git submodule foreach 'git diff'
- spush = push --recurse-submodules=on-demand
- supdate = submodule update --remote --merge
+ yolo = !git commit -am "Update" && git push origin master
diff --git a/qutebrowser/.config/qutebrowser/keys.conf b/qutebrowser/.config/qutebrowser/keys.conf
index f7069a4..9bed74f 100644
--- a/qutebrowser/.config/qutebrowser/keys.conf
+++ b/qutebrowser/.config/qutebrowser/keys.conf
@@ -270,9 +270,6 @@ bookmark-add
M
spawn --userscript quickmarks-dmenu
- u
-
-spawn --userscript bookmarks-dmenu
b
set-cmd-text -s :bookmark-load -t
@@ -329,6 +326,9 @@ navigate decrement
inspector
wi
+spawn --userscript dictionary-search
+ gD
+
download
gd
@@ -416,7 +416,7 @@ set-cmd-text -s :bookmark-load
gb
undo
- <ctrl-shift-t>
+ u
open -w
<ctrl-n>
diff --git a/qutebrowser/.config/qutebrowser/qutebrowser.conf b/qutebrowser/.config/qutebrowser/qutebrowser.conf
index 04c1c79..fe787c5 100644
--- a/qutebrowser/.config/qutebrowser/qutebrowser.conf
+++ b/qutebrowser/.config/qutebrowser/qutebrowser.conf
@@ -174,7 +174,7 @@
ignore-case = smart
startpage = about:blank
yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content
-default-open-dispatcher =
+default-open-dispatcher =
default-page = https://startpage.com
auto-search = naive
auto-save-config = true
@@ -186,12 +186,12 @@ developer-extras = false
print-element-backgrounds = true
xss-auditing = false
site-specific-quirks = true
-default-encoding =
+default-encoding =
new-instance-open-target = tab
new-instance-open-target.window = last-focused
log-javascript-console = debug
save-session = false
-session-default-name =
+session-default-name =
url-incdec-segments = path,query
[ui]
@@ -326,9 +326,9 @@ message-unfocused = false
confirm-quit = never
zoom-text-only = false
frame-flattening = false
-user-stylesheet =
+user-stylesheet =
hide-scrollbar = true
-css-media-type =
+css-media-type =
smooth-scrolling = false
remove-finished-downloads = -1
hide-statusbar = false
@@ -336,7 +336,7 @@ statusbar-padding = 1,1,0,0
window-title-format = {perc}{title}{title_sep}qutebrowser
modal-js-dialog = false
hide-wayland-decoration = false
-keyhint-blacklist =
+keyhint-blacklist =
prompt-radius = 8
prompt-filebrowser = true
@@ -399,13 +399,13 @@ prompt-filebrowser = true
do-not-track = true
accept-language = en-US,en
referer-header = same-domain
-user-agent =
+user-agent =
proxy = system
proxy-dns-requests = true
ssl-strict = ask
dns-prefetch = true
-custom-headers =
-netrc-file =
+custom-headers =
+netrc-file =
[completion]
# Options related to completion and command history.
@@ -691,7 +691,7 @@ position = top
show-favicons = false
width = 20%
indicator-width = 3
-tabs-are-windows = true
+tabs-are-windows = false
title-format = {index}: {title}
title-alignment = left
mousewheel-tab-switching = true
@@ -772,13 +772,13 @@ indicator-padding = 2,2,0,4
# cache-size (Int):
# Size of the HTTP network cache.
# Default: 52428800
-download-directory =
+download-directory =
prompt-download-directory = true
remember-download-directory = true
-maximum-pages-in-cache =
-object-cache-capacities =
-offline-storage-default-quota =
-offline-web-application-cache-quota =
+maximum-pages-in-cache =
+object-cache-capacities =
+offline-storage-default-quota =
+offline-web-application-cache-quota =
offline-storage-database = true
offline-web-application-storage = true
local-storage = true
@@ -1547,16 +1547,16 @@ statusbar = 8pt ${_monospace}
downloads = 8pt ${_monospace}
hints = bold 13px ${_monospace}
debug-console = 8pt ${_monospace}
-web-family-standard =
-web-family-fixed =
-web-family-serif =
-web-family-sans-serif =
-web-family-cursive =
-web-family-fantasy =
-web-size-minimum =
-web-size-minimum-logical =
-web-size-default =
-web-size-default-fixed =
+web-family-standard =
+web-family-fixed =
+web-family-serif =
+web-family-sans-serif =
+web-family-cursive =
+web-family-fantasy =
+web-size-minimum =
+web-size-minimum-logical =
+web-size-default =
+web-size-default-fixed =
keyhint = 8pt ${_monospace}
messages.error = 8pt ${_monospace}
messages.warning = 8pt ${_monospace}
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search b/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search
new file mode 100755
index 0000000..3155c91
--- /dev/null
+++ b/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+echo "open -t http://dictionary.cambridge.org/dictionary/english/$QUTE_SELECTED_TEXT" >> "$QUTE_FIFO"
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 379aa7d..2640c9f 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -22,3 +22,6 @@ fi
PROMPT='%0~ $ '
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
+
+# Options
+unsetopt histverify