Commit graph

7 commits

Author SHA1 Message Date
Marty Oehme f94759697d
qutebrowser: Add launcher to open links
Added bemenu launcher (can alternatively use dmenu) to find and
quickly open a link in the current qutebrowser instance (or a new one if
none exist). Will open it by default in a new tab or if `tab` argument
passed, if `open` option is passed it will open it in the current page
instead.

The script can be used both standalone by being invoked as `qutedmenu`,
or from qutebrowser itself, invoked from its commandline as `spawn
--userscript qutedmenu <open|tab>`.

By default uses bemenu, but if that is not found on system will
automatically switch to make use of dmenu. If you want to use rofi as
your dmenu replacement, generally I will assume it is already symlinked
to dmenu.

Added a keymapping to sxhkd `Mod-Shift-O`, which invokes it from
anywhere.
2021-08-18 23:35:24 +02:00
Marty Oehme f7350756d0
qute: Update bookmarklets and config structure
qute: Add gemini integration

Added simple integration for gemini. When following a link (`f` or `F`)
to a page which begins with the `gemini://` protocol, it will
automatically convert the page to html and display it instead.

qute: Update configuration structure

Moved larger setting blocks (cmd aliaes, content settings, key mappings,
url settings) into their own files.

qute: Add readability, code_select userscripts

Added userscript to invoke (python) readability mode which will render
the page in a much more nicely to read display.
Can be invoked either through `:spawn --userscript readability` or the
key combination `<leader>r`.

Added userscript to copy code snippets from websites, using the `code`
html tag. Invoked through `;c` to fit into the other extended hinting
options qutebrowser provides.

qute: Add open downloads, default download location

Added ability to open last downloads with `gD`, replaces the previous
open last download -- this one lets you select with dmenu where the old
option only opened the very last download automatically.

Set the download directory to default to XDG directory, with fallback to
`~/downloads` if the env var is not set.

qute: Set vifm filepicker

Set vifm to be the filepicker for qute. Can be used to select single or
multiple files.
Simply select the intended files in vifm and they will be passed through
to qutebrowser (and thus whatever website).
2021-04-22 11:37:27 +02:00
Marty Oehme f4400da743
repo: Update linting for 4-spaced shell scripts 2021-04-04 20:52:52 +02:00
Marty Oehme b2af424d31
qutebrowser: Fix config file, Update block lists
Updated the block lists, for qutebrowser's host blocking and its new
brave adblocking.

Fixed some errors in config file, and now formatted with black
formatter.
Should improve default javascript toggling, as well as fix the toggling
of tabs and statusbar at the same time.

I am not entirely sure why
`config-cycle -t tabs.show always switching;; config-cycle -t statusbar.show in-mode always`
works to cycle both at the same time, since (in my head) putting it like
this should *alternate* between both showing. But in fact, it does the
opposite and putting both in the same order (always not-always) will
alternate between them. Why, I do not know.
2021-03-11 09:33:43 +01:00
Marty Oehme b393e01a2f
qutebrowser: Update host block lists
Updated host block lists through internal list updater.
Added a couple nvim spell dictionary entries.
2021-02-19 12:37:44 +01:00
Marty Oehme 845b98d22d
qutebrowser: Fix git tracking, Add translate script
Added script to quickly translate a page or selected text through google
translate. Can be invoked through the aliases `:translate-page` or `:translate-selection` respectively, or the shortcuts <leader>bg, <leader>bG.

Added some gitignore files in the directory to stop keeping track of
non-personal configuration files.
2020-11-13 09:34:52 +01:00
Marty Oehme d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00