Commit graph

10 commits

Author SHA1 Message Date
c9c0490cbf
xdg: Move xdg media directories
Moved all directories with media contents (pictures, videos, music) to a
single coherent media directory.
2021-04-18 13:04:59 +02:00
0d978f7673
sh: Update xdg directory auto creation
Improved the automatic directory creation somewhat:
It now looks for either a file existing there (could be a directory,
could be an actual file), or a symbolic link pointing somewhere else.

Only if none of those things are at the xdg location will it try to
create a new directory there.

Additionally, it will set the correct permissions for the whole folder
chain being created, NOT just for the last folder in the chain.

vifm: Switch to new xdg directory structure
2021-04-18 13:04:01 +02:00
41bfe2df69
mail,mpv,qutebrowser,vifm: Fix small issues
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.
2021-03-16 14:37:38 +01:00
08c6aee17e
vifm: Set statusline, ruler, fzf, and PDF combine
Set statusline to show more relevant information, and removed 'tip of
the day' functionality since I've never been looking at it.
Set ruler to show me how many files are hidden in a directory.

Added shortcut to quickly combine a bunch of PDFs (`gc`) that are
selected.

Added shortcut (`<leader>f`) to invoke fzf on current directory and
navigate to the result. This mirrors my vim use and mapping.
Additionally, added commands to invoke the fzf functionality (`:FZFfind`
and `FZFlocate`) by hand.

Lastly, moved the file classification and opening functionality a bit
out of the way.
Should still think about handing off opening files to xdg-open since
that's what it's there for, and only make vifm handle the file preview
stuff (i.e. the opposite window buffer preview).
2021-03-14 17:31:05 +01:00
3d742a0503
vifm: Add pdf, docx viewer options
Added opening of docx files from vifm through either pandoc
interpretation as markdown if installed, or docx2txt invocation as a
fallback. (pandoc generally interprets the layout better than docx2txt,
especially contained tables).

Similarly, added option to open pdfs with pdftotext program in neovim,
to edit/grep/view only the text without pdf markup in neovim.

Changed key binding to open selected file in neovim from `o` to `e`,
mimicking the edit command found in some other file viewers.
2021-02-19 12:49:14 +01:00
92ad105483
vifm: Add tree color preview for directories
Use exa as initial program to display directory previews, fall back to
tree otherwise.
2020-10-06 09:20:01 +02:00
4774cd5b15
vifm: Add shortcut to extract selected file
Using `gx` the currently selected file(s?) will get extracted,
automatically using the correct extraction program for the compression
algorithm and creating a folder if necessary to avoid a file explosion
in the current directory (all default features of the `atool` program
which is a dependency)
2020-09-07 22:02:47 +02:00
8a5b45f41f
vifm: Add doc|docx preview and nvim opening
Added preview and opening of doc(x) files with nvim.
Makes use of docx2txt, catdoc to display the files, meaning they are
required.

Added some spellchecking words.
2020-07-28 18:15:26 +02:00
0e513c04d0
[vifm] Use unique mpv player instance for video
By default now queues to unique mpv player.
2020-05-25 17:50:20 +02:00
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00