From 6575e05ef82bfb4ed7c4805643e1eaad61624da4 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 23 May 2017 09:48:02 +0100 Subject: Update --- Xresources/.Xresources/base | 2 +- bash/.bashrc | 4 +- git/.gitconfig | 4 +- qutebrowser/.config/qutebrowser/keys.conf | 8 ++-- qutebrowser/.config/qutebrowser/qutebrowser.conf | 50 +++++++++++----------- .../qutebrowser/userscripts/dictionary-search | 3 ++ zsh/.zshrc | 3 ++ 7 files changed, 40 insertions(+), 34 deletions(-) create mode 100755 qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search 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 - + u open -w 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 -- cgit v1.2.3