update vimrc and qutebrowser config added some searchengine definitions for qutebrowser
prithugoswami prithugoswami524@gmail.com
Wed, 30 May 2018 16:57:47 +0530
3 files changed,
14 insertions(+),
4 deletions(-)
M
qutebrowser/config.py
→
qutebrowser/config.py
@@ -1350,7 +1350,10 @@ ## else than a URL was entered to be opened. Other search engines can be
## used by prepending the search engine name to the search term, e.g. ## `:open google qutebrowser`. ## Type: Dict -c.url.searchengines = {'DEFAULT': 'https://www.google.com/search?hl=en&q={}'} +c.url.searchengines = {'DEFAULT': 'https://www.google.com/search?hl=en&q={}', + 'r': 'www.reddit.com/r/{}', + 'y': 'www.youtube.com/results?search_query={}'} + ## Page(s) to open at the start. ## Type: List of FuzzyUrl, or FuzzyUrl
A
scripts/toggle_toucpad.sh
@@ -0,0 +1,10 @@
+#!/bin/sh + +# device id=14 +touchpad="$(xinput list-props 14 | awk 'NR == 2 {print $4}')" + +if [ "$touchpad" -eq 0 ]; then + xinput --enable 14 +else + xinput --disable 14 +fi