Bookmarks are already gitignored. While I don't mind the quickmarks
being public, I also don't think them being saved in this repo brings a
lot of pros - and they are massively out of date anyway.
I could think about integrating them on a private fork
https://shivering-isles.com/publish-your-work-while-keeping-a-private-fork
we will see.
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.
Added automatic proxying to floss alternative frontends for proprietary
websites like reddit (teddit), youtube (invidious), twitter (nitter),
and instagram (bibliogram).
Often does not work on calling cached websites, meaning when it does not
load the correct page a full reload (shift-R) should call up the correct
frontend on first use of a previously visited page.
Squashed commit of the following:
commit ccf5a9f9a001c466e4fe00763f561d09a598bd70
Author: Marty Oehme <marty.oehme@gmail.com>
Date: Wed Jul 28 10:05:37 2021 +0200
qutebrowser: Add LocalLeader key concept
Added differentiation between leader mappings and local leader mappings,
with a similar idea to vim:
leader mappings enact changes within qutebrowser on a more general level
(currently e.g. changing tab display, javascript switch, stylesheet
setting) while
local leader mappings enact changes or interact with the current page
context
(e.g. start mpv stream, display in readability mode, download pdf
version of page, and so on).
This will be hard for my muscle memory, but I think such a switch
benefits logical action separation in the long run, especially in case I
add more action shortcuts over time.
An interesting thing this separation also allows is a more
buffer-specific action repertoire (for example through recognition of
current page context with interceptors) so specific pages contain
different actions.
commit afbe573d527b70fa57d643ede78cd5e71f3ca4c1
Author: Marty Oehme <marty.oehme@gmail.com>
Date: Tue Jul 27 16:00:37 2021 +0200
qutebrowser: Rename key mapping file
Renamed from `keys.py` to `maps.py` to keep some coherence with nvim
naming scheme.
commit cc78cbb67953bba7ab4d5a6dd48dfa50fbcfe2fc
Author: Marty Oehme <marty.oehme@gmail.com>
Date: Tue Jul 27 10:19:34 2021 +0200
qutebrowser: Add reddit redirection
Added redirection to old.reddit whenever a link on reddit is opened.
Added redirection of youtube links to yewtu.be invidious instance.
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).
Switch the way bookmarks, quickmarks, and scrollmarks are set in
qutebrowser:
Bookmarks can be set with `~`,
Quickmarks can be set with `\`` (backtick),
Scrollmarks can be set with `m`.
This essentially changes the `\`` (backtick) and `mM` key functionality,
but retains the relative setting of quickmarks/bookmarks being on the
same key, just small and capital letter.
This has been changed since I more often need to quickly set a
scrollmark for a page than a new quick/bookmark, and to also unify the
key a little with how vim does it.
Most of the 'bookmarklet' little script invocations I have set
have been migrated away from `<leader>b` pre-mappings to `"` pre-maps:
`<leader>bw` became `"w`
`<leader>ba` became `"a`
`<leader>bg` became `"g`
`<leader>bG` became `"G`
and so on. This makes sense to me as a bigger 'mark' to jump to than a
key-chain prefixed with the leader command.
Lastly, added a key-binding for the newly addded `qr` userscript in
qute, which displays the current url as a qr-code:
`"q`
Added a command to send the current page to the outline service, which
acts as a readability layer (and lets you read e.g. medium articles
without pulling your hair out).
Just use the `send-to-outline` command, or use keymapping <leader>bo to
send the current page to outline.
Added videos directory to vifm quick marks (`v`).
Fixed (hopefully) qutebrowser statusbar hiding and showing.
Improved mail checking script password file handling by switching the
hard-coded path to one still somewhat hard-coded, but encapsulated in a
variable to make changing it later on easier. The script is a bit
slap-dash anyway, so when refactored should be refactored overall.
Added `gallery-dl` handling by mpv, whenever a link starting with
`gdl://` is passed in.
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.
qutebrowser 2.0 changed the option names for host blocking, and this
update simply fixes that change accordingly. See your
qute://help/changelog.html#v2.0.0 file.
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.
Fixed the download media (`<leader>dm`) option in qutebrowser to
download the link that is hinted and not the current page.
To download the current page, the keymapping remains the same as before
(`<leader>dM`).
Switched default search engine for my personal searx engine.
Added search engine bangs for duckduckgo (ddg), man-pages (man),
alternativeto.net (alt).
Added key mapping to quickly open last downloaded file, especially
useful for downloaded pdf documents or similar files.
<leader>o will open the last file.
Defaults webpage backgrounds to 'davy grey'. Generally, this will be
overwritten in the stylesheet that is automatically applied through
styler. Setting the background color to a dark one does however prevent
the blinding whiteness when first opening a new page in a dark room and
it still has to load (as well as when rapidly switching between tabs).
Sending links to mpv limits the quality to 1080p, to be able to stream
it with my connection, and since I can not display more.
Fixed mpv taking ages to open for ytdl streams. (or anything else which
takes a while to load)
Mpv had to wait until it had enough buffer to begin playing and only
then would open its main window. With this fix it immediately opens the
window, and starts playing whenever it is ready.
Added qutebrowser shortcut to edit forms in vim (leader-e). Added gitlab
and asciinema to javascript exceptions list. And removed some never-used
shortcut mappings.
Makes polybar use Xresources color values for its colors. Resets rofi
values to their default after being overwritten by the base16 themes.
Makes qutebrowser include the colorscheme in its configuration file.
Ignore dynamically generated colorschemes in .gitignore file.
Instead of using new gmail layout, use the old html layout when
accessing it from the qutebrowser quickmark. It works and loads
faster, and the new one can still be switched to from the interface.