mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-05 05:37:20 +02:00
Compare commits
No commits in common. "4896538afa4b283c96d66d6287677e679b9afc77" and "27c34bd44fec2c429b540733d5a430ce872d7368" have entirely different histories.
4896538afa
...
27c34bd44f
@ -1,8 +1,7 @@
|
|||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
# See https://pre-commit.ci for more information
|
# See https://pre-commit.ci for more information
|
||||||
ci:
|
ci:
|
||||||
#skip: [prettier, alex]
|
skip: [prettier, alex]
|
||||||
skip: [prettier]
|
|
||||||
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
||||||
# the frequency of unnecessary PRs.
|
# the frequency of unnecessary PRs.
|
||||||
# https://github.com/pre-commit-ci/issues/issues/83
|
# https://github.com/pre-commit-ci/issues/issues/83
|
||||||
@ -99,10 +98,10 @@ repos:
|
|||||||
name: prettier
|
name: prettier
|
||||||
entry: corepack npx prettier --cache --ignore-unknown --write
|
entry: corepack npx prettier --cache --ignore-unknown --write
|
||||||
language: system
|
language: system
|
||||||
# - id: alex
|
- id: alex
|
||||||
# name: alex
|
name: alex
|
||||||
# entry: corepack npx alex --why --quiet
|
entry: corepack npx alex --why --quiet
|
||||||
# language: system
|
language: system
|
||||||
|
|
||||||
# .editorconfig validity checking
|
# .editorconfig validity checking
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
|
6
chmod
6
chmod
@ -49,10 +49,8 @@ if hash setfacl 2> /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Fedora Atomic compatibility
|
# Fedora Atomic compatibility
|
||||||
if [ "$(id -u)" == "0" ]; then
|
if [ -d /var/roothome ]; then
|
||||||
if [ -d /var/roothome ]; then
|
chmod -v a+x /var/roothome
|
||||||
chmod -v a+x /var/roothome
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
@ -1,39 +1,53 @@
|
|||||||
# <~/.config/mpv/mpv.conf|~/.var/app/io.mpv.Mpv/config/mpv/mpv.conf>
|
# ~/.config/mpv/mpv.conf
|
||||||
|
|
||||||
|
# Unless otherwise specified, since these are suggested in the warning about
|
||||||
|
# audio/video desychnorinization
|
||||||
|
profile=fast
|
||||||
|
#hwdec=auto-safe
|
||||||
|
|
||||||
# Preferred audio drivers, but by trailing comma, let others be used too.
|
# Preferred audio drivers, but by trailing comma, let others be used too.
|
||||||
|
# Fedora: pipewire-jack-audio-connection-kit pipewire-pulseaudio pipewire-alsa
|
||||||
|
# TODO: Does the above apply with PipeWire being the default?
|
||||||
ao=pipewire,pulse,
|
ao=pipewire,pulse,
|
||||||
# And same for video output drivers
|
# And same for video output drivers
|
||||||
vo=gpu-next,gpu,
|
vo=gpu-next,gpu,
|
||||||
|
# Use Vulkan when possible to also get free $MANGOHUD
|
||||||
# Compatible options that apparently use vulkan for mangohud on my hardware
|
hwdec=vulkan,auto
|
||||||
# anyway \o/
|
gpu-api=vulkan,auto
|
||||||
profile=fast
|
gpu-context=waylandvk,wayland,auto
|
||||||
hwdec=auto
|
|
||||||
gpu-api=auto
|
|
||||||
gpu-context=auto
|
|
||||||
|
|
||||||
# Resolve audio/video descynchronisation automatically by adjusting audio
|
|
||||||
# speed
|
|
||||||
video-sync=display-resample
|
|
||||||
interpolation
|
|
||||||
|
|
||||||
# Specify preferred audio and subtitle languages. Two subtitles are shown
|
# Specify preferred audio and subtitle languages. Two subtitles are shown
|
||||||
# simultaneously, one on top, another on bottom.
|
# simultaneously, one on top, another on bottom.
|
||||||
# REMEMBER to override this with --alang= --slang= as needed!
|
# REMEMBER to override this with --alang= --slang= as needed!
|
||||||
alang=jpn,jp,ja,en,eng,fi,fin
|
alang=jpn,jp,ja,en,eng,fi,fin
|
||||||
slang=fi,fin,sdh,doh,en,eng,eo,epo,la,lat,sv,swe,ru,rus,cs,ces,cze,es,spa,jpn,jp
|
slang=fi,fin,sdh,doh,en,eng,eo,epo,la,lat,sv,swe,ru,rus,cs,ces,cze,es,spa,jpn,jp
|
||||||
|
# TODO: test this! and for YouTube videos/links
|
||||||
|
ytdl-raw-options-append=sub-langs=fi,fin,sdh,doh,en,eng,eo,epo,la,lat,sv,swe,ru,rus,cs,ces,cze,es,spa,jpn,jp
|
||||||
|
|
||||||
# Remember quit position even without Shift+Q
|
# Remember quit position even without Shift+Q
|
||||||
save-position-on-quit
|
save-position-on-quit
|
||||||
|
|
||||||
# Disable embedded fonts in subtitle files and use my preferred font for both
|
|
||||||
# subtitles and UI. Subtitle preferred font may get used if it exists in the
|
|
||||||
# system though?
|
|
||||||
embeddedfonts=no
|
embeddedfonts=no
|
||||||
|
# Sans-Serif fonts are the best for legibility
|
||||||
|
#sub-font='Roboto'
|
||||||
|
#sub-ass-style-overrides=FontName='Roboto'
|
||||||
|
#osd-font='Roboto'
|
||||||
|
# Noto is likely the best covered with strange UTF-8 glyphs while also
|
||||||
|
# designed to be compatible with Roboto
|
||||||
|
#sub-font='Noto Sans'
|
||||||
|
#sub-ass-style-overrides=FontName='Noto Sans'
|
||||||
|
#osd-font='Noto Sans'
|
||||||
|
# However Comic Neue is what I have gotten used to reading on Kindle and
|
||||||
|
# where I want legibility. This could also be overridden by --sub-font="" in
|
||||||
|
# terminal flags (see --alang and --slang= above)
|
||||||
|
#sub-font='Comic Neue'
|
||||||
|
#sub-ass-style-overrides=FontName='Comic Neue'
|
||||||
|
#osd-font='Comic Neue'
|
||||||
sub-font='Inclusive Sans'
|
sub-font='Inclusive Sans'
|
||||||
|
#sub-ass-style-overrides=FontName='Inclusive Sans'
|
||||||
osd-font='Inclusive Sans'
|
osd-font='Inclusive Sans'
|
||||||
|
|
||||||
# Amber font color for subtitles, unless they otherwise specify?
|
# Amber font for subtitles
|
||||||
sub-color='#ffb700'
|
sub-color='#ffb700'
|
||||||
|
|
||||||
# Enable two simultaneous subtitles (first slang on bottom, second on top?)
|
# Enable two simultaneous subtitles (first slang on bottom, second on top?)
|
||||||
@ -55,11 +69,37 @@ sub-ass-override=yes
|
|||||||
secondary-sub-ass-override=yes
|
secondary-sub-ass-override=yes
|
||||||
|
|
||||||
# Use decreased volume by default so when Mumbling or other VoIP mpv is
|
# Use decreased volume by default so when Mumbling or other VoIP mpv is
|
||||||
# quieter than other people. 70 may be better while VoIPing, but 80 is
|
# quieter than other people
|
||||||
# comfortable watching alone and / and * always exist.
|
volume=70
|
||||||
volume=80
|
|
||||||
|
|
||||||
# Fullscreen by default
|
# Fullscreen by default
|
||||||
fs=yes
|
#fs=yes
|
||||||
# Windows maximized by default
|
# Windows maximized by default
|
||||||
#window-maximized=yes
|
window-maximized=yes
|
||||||
|
|
||||||
|
# Vsync? The user who originally added it judged it to not be working
|
||||||
|
# though.
|
||||||
|
#opengl-swapinterval=0
|
||||||
|
|
||||||
|
# HQ options according to Arch Wiki, may cause problems for "a few users"
|
||||||
|
#profile=gpu-hq
|
||||||
|
# AW says that the manual says to use these for the best quality if the
|
||||||
|
# hardware can handle it.
|
||||||
|
## 2020-11-09: even Sedric doesn't handle this for some reason, 8 GB RAM
|
||||||
|
## and no swap isn't enough?
|
||||||
|
#scale=ewa_lanczossharp
|
||||||
|
#cscale=ewa_lanczossharp
|
||||||
|
# "more complicated", desyncing video causes resampling audio
|
||||||
|
#video-sync=display-resample
|
||||||
|
# make motion smoother (both two)
|
||||||
|
#interpolation
|
||||||
|
#tscale=oversample
|
||||||
|
|
||||||
|
# When watching YouTube videos, don't eat all CPU and bandwidth being
|
||||||
|
# even more unpleasant to use!
|
||||||
|
# https://github.com/mpv-player/mpv/issues/4241#issuecomment-327033395
|
||||||
|
ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best
|
||||||
|
|
||||||
|
# Take commands from controller.
|
||||||
|
# TODO: actually map something to it!
|
||||||
|
#input-gamepad=yes
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit a922f0df842463d348a0852a26532bb644bf066c
|
Subproject commit c07a75a26d84430a3ec6c0e4f9f8d5dc2d0650e6
|
@ -1 +1 @@
|
|||||||
Subproject commit 017c023cec741bbd24c43956a674a0d02931dc41
|
Subproject commit 83df460c9b7afdbef0c412cd67bb24662c85a6e2
|
Loading…
x
Reference in New Issue
Block a user