From 77cd142cbfceda8d4fe644acff46b7f8a3463e9e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 13 Dec 2018 16:51:29 +0100 Subject: Add zsh aliases --- qutebrowser/.config/qutebrowser/style.css | 8 ++++++-- qutebrowser/.local/share/qutebrowser/userscripts/quickmarks | 2 +- qutebrowser/.local/share/qutebrowser/userscripts/tabs | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'qutebrowser') diff --git a/qutebrowser/.config/qutebrowser/style.css b/qutebrowser/.config/qutebrowser/style.css index 81e3491..325fc5c 100644 --- a/qutebrowser/.config/qutebrowser/style.css +++ b/qutebrowser/.config/qutebrowser/style.css @@ -1,8 +1,12 @@ -div#spon_links { +div#spon_links { display: none !important; } -div#adBlock { +div#adBlock { + display: none !important; +} + +div#spon-results { display: none !important; } diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks b/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks index a55b23b..9f6acf1 100755 --- a/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks +++ b/qutebrowser/.local/share/qutebrowser/userscripts/quickmarks @@ -2,7 +2,7 @@ if [ -n "$1" ] then - echo "open $(echo $1 | awk '{print $NF}')" >> $QUTE_FIFO + echo "open $(echo "$1" | awk '{print $NF}')" >> "$QUTE_FIFO" exit; fi diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/tabs b/qutebrowser/.local/share/qutebrowser/userscripts/tabs index 7f9e226..c5a5538 100755 --- a/qutebrowser/.local/share/qutebrowser/userscripts/tabs +++ b/qutebrowser/.local/share/qutebrowser/userscripts/tabs @@ -7,7 +7,7 @@ if [ -n "$1" ] then selected_id=$(echo "$tabs" | grep "$@" | sed 's/^.*window":\([0-9]*\).*$/\1/') i3-msg "[id=$selected_id] focus" > /dev/null 2>&1 - exit; + exit fi # Sanitized List of tabs -- cgit v1.2.3