diff --git a/.gitignore b/.gitignore index d7d5c4c..a9fc60f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,9 @@ composer.phar .fonts/ bin/composer -system/.config/dconf/user \ No newline at end of file +system/.config/dconf/user + +system/.config/mpv/encoding.rst +system/.config/mpv/tech-overview.txt +system/.config/mpv/mplayer-input.conf +system/.config/mpv/restore-old-bindings.conf \ No newline at end of file diff --git a/README.md b/README.md index 56d2613..c0eb50b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,12 @@ This folder contains my GTK 3.0 configuration. I don't edit this configuration d This folder contains my configuration for [htop](https://hisham.hm/htop/). ### `.config/i3` -This folder contains the configuration for my preferred window manager [i3](https://i3wm.org/). Instead of the normal i3 I use the [i3-gaps](https://www.archlinux.org/packages/community/x86_64/i3-gaps/) fork. +This folder contains the configuration for my preferred window manager +[i3](https://i3wm.org/). Instead of the normal i3 I use the +[i3-gaps](https://www.archlinux.org/packages/community/x86_64/i3-gaps/) fork. + +### `.config/mpv` +This folder contains my configuration for mpv. ### `.config/polybar` This folder contains my bar configuration and launch script for diff --git a/install.sh b/install.sh index a70b167..7c7f986 100755 --- a/install.sh +++ b/install.sh @@ -43,6 +43,7 @@ LINKED_FILES_HOME=( ".config/gtk-3.0" ".config/htop" ".config/i3" + ".config/mpv" ".config/polybar" ".config/redshift" ".config/streamlink" diff --git a/system/.config/mpv/input.conf b/system/.config/mpv/input.conf new file mode 100644 index 0000000..a5b43f4 --- /dev/null +++ b/system/.config/mpv/input.conf @@ -0,0 +1,9 @@ +# Seek controls +RIGHT seek 5 +LEFT seek -5 +UP seek 60 +DOWN seek -60 + +# Speed controls ++ add speed 0.1 +- add speed -0.1 \ No newline at end of file diff --git a/system/.config/mpv/mpv.conf b/system/.config/mpv/mpv.conf new file mode 100644 index 0000000..eff4064 --- /dev/null +++ b/system/.config/mpv/mpv.conf @@ -0,0 +1,16 @@ +# Video settings +fs=yes +force-window=immediate + +# Cache +cache-default=153600 +cache=153600 +cache-pause=no +demuxer-readahead-secs=5.0 +cache-secs=0.0 + +# Default subtitles +slang=en + +# Default audio +alang=en,de diff --git a/system/.config/streamlink/config b/system/.config/streamlink/config index 187c6c7..2bb5eab 100644 --- a/system/.config/streamlink/config +++ b/system/.config/streamlink/config @@ -9,6 +9,6 @@ # # USAGE: # This file is automatically used by Streamlink. -player=mplayer -cache 8192 +player=mpv player-no-close twitch-oauth-token=30ktx6jc273cdc9gmkb7jftny3vrgn \ No newline at end of file