Add mpv config

This commit is contained in:
Tibo De Peuter 2023-06-24 14:41:08 +02:00
parent 0f1654b1f9
commit 9484b3bc10
2 changed files with 40 additions and 3 deletions

View file

@ -1,7 +1,11 @@
{ config, system, lib, pkgs-unstable, ... }: { config, system, lib, pkgs-unstable, ... }:
{ {
home-manager.users.tdpeuter.home.packages = with pkgs-unstable; [ home-manager.users.tdpeuter.home = {
packages = with pkgs-unstable; [
mpv mpv
]; ];
file.".config/mpv".source = ../../../../stow/mpv/.config/mpv;
};
} }

View file

@ -0,0 +1,33 @@
##################
# video settings #
##################
# Start in fullscreen mode by default
fs=yes
# Do not close the window on exit.
keep-open=yes
# Do not wait with showing the video window until it has loaded. (This will
# resize the window once video is loaded. Also always shows a window with
# audio.)
force-window=immediate
# Save position on quit
save-position-on-quit=yes
############
# Profiles #
############
# Profile for music etc.
[audio]
# Disable video output
vid=no
# Profile for terminal-only
[terminal]
# Terminal video
vo=tct