Commit graph

22 commits

Author SHA1 Message Date
Marty Oehme a3b00c4693
mpv: Fix sponsorblock code and formatting
Fixed global variable naming (capitalized) and let code be formatted by
formatter.
2022-10-08 18:13:43 +02:00
Marty Oehme d93bcdf11e
mpv: Switch to m for menu invocation key
Switched from `menu` (function+right control usually) to simple `m` as
an invocation key. Simpler, mnemonic, and not used yet.
2021-11-30 22:43:43 +01:00
Marty Oehme d2eec50d33
mpv: Default to english subtitles
Changed subtitle and audio order which was accidentally switched
previously - audio should prefer original tracks and subtitles should
prefer english.
2021-10-23 12:44:00 +02:00
Marty Oehme 8a6cdcba8b
mpv: Use yt-dlp instead of youtube-dl
Switch to fork since it's more actively developed and contains some
additional features. Primarily switched since it had quite a bit better
subtitle stream handling than the original for quite a while.
2021-10-09 23:21:02 +02:00
Marty Oehme 0c14a972c7
mpv: Decrease overlay font size
Heavily decreased font-size for display since it was *humongous* before.
Now provides a nice balance between readability and amount of text on
screen.
2021-06-02 23:16:21 +02:00
Marty Oehme 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
Marty Oehme 4ade691441
mpv: Replace sponsorblock with minimal version
Use a more minimal version of sponsorblock which neither caches the
results locally, nor allows many of the fancy things that the python
plugin allows.
On the other hand, it is lua-only and does not depend on python, and
fulfills the same basic functionality: skipping sponsorship segments.

You can toggle the plugin on and off by pressing `b`.
Additionally, it also works on files played locally, if those carry a
yt identifier in their filename.
2021-04-05 15:49:34 +02:00
Marty Oehme 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
Marty Oehme a94890ea22
mpv: Add automatic playlist creation from directory
Added plugin to automatically load all files in the current directory
into the playlist on startup.

Will keep files 'before' the current file also 'before' in the playlist,
vice versa for files following in the directory.
2021-03-08 21:38:01 +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 1c335dcb66
Fix small issues: brightness scroll and formatting
Added ability to change display brightness by scrolling over polybar
module.
2020-12-03 11:57:20 +01:00
Marty Oehme 0e34af1992
lua: Fix formatting with lua-format 2020-11-06 15:03:33 +01:00
Marty Oehme 3f958a65d6 [gopass] Add rofi-gopass menu for quick secret entry
Allows auto-filling and copying secrets to the clipboard. Works on the secrets themselves and any fields contained within the secrets. Key bindings and options can be configured through a file or the environment.
2020-05-16 15:19:08 +00:00
Marty Oehme 2c11d14cbd
[mpv] Add playlistmanager 2020-05-13 23:35:28 +02:00
Marty Oehme f0cabb9149
[mpv] Add sponsorblock
Added sponsorblock to mpv.
2020-05-13 23:32:34 +02:00
Marty Oehme 86e29b2763
[mpv] Fix battery script on desktop PC
Fixed requiring a battery or receiving an error. Script will simply set
high quality mode on desktop.
2020-05-13 18:22:01 +02:00
Marty Oehme d4257a4fce
[mpv] Fix battery detection 2020-05-13 17:41:14 +02:00
Marty Oehme cc942a55a1
[mpv] Add auto configuration low power mode
Add low power profile auto-setting if, on opening mpv, the battery mode
is detected. This will not automatically change when laptop is beginning
to charge/discharge *during* mpv being open.
2020-05-13 16:52:06 +02:00
Marty Oehme f5505cbac1
[mpv] Add low/high quality profiles
Added profiles for lq and hq playback in preparation for battery mode
setting.

Removed qutebrowser forcing ytdl options, since it is set in mpv.conf.
2020-05-13 16:51:32 +02:00
Marty Oehme dd61ca7aa9
[mpv] Add key configuration
Added somewhat vim-like key configuration.
Added context-menu opened with menu key on keyboard.

Fixes #100
2020-05-13 15:08:50 +02:00
Marty Oehme 9c98605f98
[mpv] Add on screen display
Fixes #98
2020-05-13 15:08:03 +02:00
Marty Oehme 748d6f2934
[mpv] Add basic configuration
Added basic configuration file, setting up caching, subtitles,
audio and video settings, profiles for streaming.

Fixes #95
2020-05-13 13:51:36 +02:00