summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-12-13 16:51:29 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-12-13 16:51:29 +0100
commit77cd142cbfceda8d4fe644acff46b7f8a3463e9e (patch)
treebb53483c102c5728b1ccbc5add11b1d09a4b991c /qutebrowser
parent264b48ff259714217ed0c056a99d038dde872249 (diff)
Add zsh aliases
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/.config/qutebrowser/style.css8
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/quickmarks2
-rwxr-xr-xqutebrowser/.local/share/qutebrowser/userscripts/tabs2
3 files changed, 8 insertions, 4 deletions
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