From e6f2ddcc92ed73cdba2a0d4b31020edd36f7a838 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 10 Mar 2021 14:11:41 -0600 Subject: [PATCH 1/3] Adding imag search to qb --- qutebrowser/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 91f0ae5..bd5e4d6 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -2132,6 +2132,7 @@ c.url.searchengines = { "aur": "https://aur.archlinux.org/packages/?O=0&K={}", "od": "https://odysee.com/$/search?q={}", "aw": "https://wiki.archlinux.org/index.php?search={}", + "di": "https://duckduckgo.com/?q={}&iax=images&ia=images", } ## Page(s) to open at the start. From fb0aa8369b317f6fc4ebc658b0e4f4620f690ffd Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 11 Mar 2021 17:00:42 -0600 Subject: [PATCH 2/3] Adding search changes --- qutebrowser/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index bd5e4d6..5a4d0a5 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -1541,7 +1541,8 @@ c.hints.radius = 6 # 'input:not([type])', # 'textarea']} -c.hints.selectors['all'].append('ha-icon') +c.hints.selectors['all'].append('ha-card') +c.hints.selectors['all'].append('[for="checkbox"]') ## Make characters in hint strings uppercase. ## Type: Bool @@ -2132,7 +2133,9 @@ c.url.searchengines = { "aur": "https://aur.archlinux.org/packages/?O=0&K={}", "od": "https://odysee.com/$/search?q={}", "aw": "https://wiki.archlinux.org/index.php?search={}", + "d": "https://duckduckgo.com/?q={}", "di": "https://duckduckgo.com/?q={}&iax=images&ia=images", + "s": "https://duckduckgo.com/?q={}&iax=images&ia=images", } ## Page(s) to open at the start. From 7f800a0d557b044ddd0eeeada83d7c0d5b749f76 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 12 Mar 2021 16:06:15 -0600 Subject: [PATCH 3/3] Some fixes to fish prompt and mpv hw acceleration --- fish/config.fish | 28 +++++++++++++++++++++------- mpv/mpv.conf | 1 + 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/fish/config.fish b/fish/config.fish index 4c927e9..0bb0ac9 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -2,7 +2,7 @@ set -U fish_user_paths $HOME/.local/bin $HOME/scripts $HOME/.doom-emacs/bin $HOME/.emacs.d/bin set TERM "xterm-256color" -set EDITOR "emacsclient -t -a" +set EDITOR "emacsclient -c -a" set VISUAL "emacsclient -c -a emacs" ### PROMPT ### @@ -16,10 +16,10 @@ set VISUAL "emacsclient -c -a emacs" function fish_greeting -d "what's up, fish?" - set_color $fish_color_autosuggestion[1] - uname -npsr - uptime - set_color normal + # set_color $fish_color_autosuggestion[1] + # uname -npsr + # uptime + # set_color normal end function fish_title @@ -93,9 +93,9 @@ end function _prompt_status_arrows -a exit_code if test $exit_code -ne 0 - set arrow_colors 600 900 c00 f00 + set arrow_colors green else - set arrow_colors 060 090 0c0 0f0 + set arrow_colors green end for arrow_color in $arrow_colors @@ -165,6 +165,18 @@ function fish_right_prompt set_color normal end +### VI MODES +# Emulates vim's cursor shape behavior +# Set the normal and visual mode cursors to a block +set fish_cursor_default block +# Set the insert mode cursor to a line +set fish_cursor_insert line +# Set the replace mode cursor to an underscore +set fish_cursor_replace_one underscore +# The following variable can be used to configure cursor shape in +# visual mode, but due to fish_cursor_default, is redundant here +set fish_cursor_visual block + ### BANG BANG FUNCTIONS function __history_previous_command switch (commandline -t) @@ -194,3 +206,5 @@ function fish_user_key_bindings end +alias yeet "paru -Rns" +alias pac "paru -Syu" \ No newline at end of file diff --git a/mpv/mpv.conf b/mpv/mpv.conf index 4baf513..42816dd 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -5,5 +5,6 @@ speed=1.95 autofit=75% geometry=50%:50% input-ipc-server="/tmp/mpvsocket" +hwdec=auto ytdl-format=bestvideo[height<=?720][fps<=?30]+bestaudio/best